title and favicon

This commit is contained in:
doman 2023-07-30 13:21:45 +02:00
parent 8a5c9dbfcb
commit 6ebd162eda
2 changed files with 5 additions and 5 deletions

View file

@ -9,7 +9,7 @@ class MyApp extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return MaterialApp( return MaterialApp(
title: '🅵🅾🅾🅳🅴🆁', title: 'FOODER',
theme: ThemeData( theme: ThemeData(
colorScheme: ColorScheme.fromSeed( colorScheme: ColorScheme.fromSeed(
seedColor: Colors.blueGrey, seedColor: Colors.blueGrey,

View file

@ -25,7 +25,7 @@ class MacroWidget extends StatelessWidget {
Expanded( Expanded(
flex: 1, flex: 1,
child: Text( child: Text(
"C: ${carb.toStringAsFixed(1)} g", "C: ${carb.toStringAsFixed(1)}g",
style: style, style: style,
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
@ -33,7 +33,7 @@ class MacroWidget extends StatelessWidget {
Expanded( Expanded(
flex: 1, flex: 1,
child: Text( child: Text(
"F: ${fat.toStringAsFixed(1)} g", "F: ${fat.toStringAsFixed(1)}g",
style: style, style: style,
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
@ -41,7 +41,7 @@ class MacroWidget extends StatelessWidget {
Expanded( Expanded(
flex: 1, flex: 1,
child: Text( child: Text(
"P: ${protein.toStringAsFixed(1)} g", "P: ${protein.toStringAsFixed(1)}g",
style: style, style: style,
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
@ -66,7 +66,7 @@ class MacroWidget extends StatelessWidget {
Expanded( Expanded(
flex: 1, flex: 1,
child: Text( child: Text(
"${amount!.toStringAsFixed(1)} g", "${amount!.toStringAsFixed(1)}g",
style: style, style: style,
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),