49 lines
1.3 KiB
Dart
49 lines
1.3 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
const headerStyle = TextStyle(
|
|
fontSize: 10,
|
|
fontWeight: FontWeight.w600,
|
|
height: 1.5,
|
|
letterSpacing: 1,
|
|
color: Color(0xFF64748B),
|
|
);
|
|
|
|
class TableHeader extends StatelessWidget {
|
|
const TableHeader({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
height: 32,
|
|
color: const Color(0xFF0B0E16),
|
|
child: Column(
|
|
children: [
|
|
Expanded(
|
|
child: Padding(
|
|
padding: const EdgeInsets.symmetric(horizontal: 20),
|
|
child: Row(
|
|
spacing: 12,
|
|
children: [
|
|
SizedBox(width: 28, child: Text('#', style: headerStyle)),
|
|
SizedBox(
|
|
width: 240,
|
|
child: Text('AUFGABE', style: headerStyle),
|
|
),
|
|
SizedBox(
|
|
width: 200,
|
|
child: Text('STATUS', style: headerStyle),
|
|
),
|
|
Expanded(child: Text('BESCHREIBUNG', style: headerStyle)),
|
|
SizedBox(width: 36, height:15),
|
|
SizedBox(width: 32, height:15),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
Container(height: 1, color: const Color(0xFF1E2D3D)),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|