22 lines
475 B
Dart
22 lines
475 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class TablesHeaderElement extends StatelessWidget {
|
|
const TablesHeaderElement({super.key, required this.text});
|
|
|
|
final String text;
|
|
|
|
static const textColor = Color(0xFF64748B);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Text(
|
|
text.toUpperCase(),
|
|
style: TextStyle(
|
|
color: textColor,
|
|
fontWeight: FontWeight(600),
|
|
fontSize: 10,
|
|
letterSpacing: 1,
|
|
),
|
|
);
|
|
}
|
|
} |