mirror of
https://github.com/koloideal/Casha.git
synced 2026-06-10 18:35:28 +03:00
19 lines
456 B
Dart
19 lines
456 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class SectionLabel extends StatelessWidget {
|
|
final String text;
|
|
const SectionLabel(this.text, {super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Text(
|
|
text,
|
|
style: Theme.of(context).textTheme.bodySmall?.copyWith(
|
|
color: Theme.of(context).colorScheme.onSurface.withOpacity(0.6),
|
|
fontWeight: FontWeight.w600,
|
|
letterSpacing: 0.5,
|
|
),
|
|
);
|
|
}
|
|
}
|