Appbar átalakítása

This commit is contained in:
2026-06-12 00:17:24 +02:00
parent 01e6105240
commit 43af5f5bc8
7 changed files with 333 additions and 157 deletions
+38
View File
@@ -0,0 +1,38 @@
import 'package:flutter/material.dart';
class MiniStatusValue extends StatelessWidget {
final String label;
final String value;
final Color color;
const MiniStatusValue({
required this.label,
required this.value,
required this.color,
});
@override
Widget build(BuildContext context) {
return RichText(
text: TextSpan(
style: Theme.of(context).textTheme.labelMedium,
children: [
TextSpan(
text: '$label ',
style: TextStyle(
color: Theme.of(context).colorScheme.onSurfaceVariant,
fontWeight: FontWeight.w600,
),
),
TextSpan(
text: value,
style: TextStyle(
color: color,
fontWeight: FontWeight.w800,
),
),
],
),
);
}
}