75 lines
2.3 KiB
Dart
75 lines
2.3 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
class Toolbar extends StatelessWidget {
|
|
const Toolbar({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
color: const Color(0xFF0D1120),
|
|
child: Column(
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
Padding(
|
|
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 8),
|
|
child: Row(
|
|
spacing: 8,
|
|
children: [
|
|
Container(
|
|
padding: const EdgeInsets.symmetric(
|
|
horizontal: 13,
|
|
vertical: 7,
|
|
),
|
|
decoration: BoxDecoration(
|
|
color: const Color(0xFF1E2D3D),
|
|
borderRadius: BorderRadius.circular(2),
|
|
),
|
|
child: Row(
|
|
spacing: 6,
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
Text(
|
|
'+',
|
|
style: TextStyle(
|
|
fontSize: 16,
|
|
fontWeight: FontWeight.w600,
|
|
height: 1,
|
|
letterSpacing: 0.28,
|
|
color: Color(0xFFE2E8F0),
|
|
),
|
|
),
|
|
Text(
|
|
'Neue Aufgabe',
|
|
style: TextStyle(
|
|
fontSize: 11,
|
|
fontWeight: FontWeight.w600,
|
|
height: 17 / 11,
|
|
letterSpacing: 0.28,
|
|
color: Color(0xFFE2E8F0),
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
Expanded(
|
|
child: Align(
|
|
alignment: Alignment.centerRight,
|
|
child: Text(
|
|
'6 Aufgaben',
|
|
style: TextStyle(
|
|
fontSize: 11,
|
|
height: 17 / 11,
|
|
color: Color(0xFF64748B),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
Container(height: 1, color: const Color(0xFF1E2D3D)),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
} |