Merge pull request #10 from Cyanose/feature/meal-name-in-cyan-color

set meal name color to cyan
This commit is contained in:
Doman 2023-08-26 22:24:28 +02:00 committed by GitHub
commit b90d108163
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,9 @@ class MealWidget extends StatelessWidget {
Expanded( Expanded(
child: Text( child: Text(
meal.name, meal.name,
style: Theme.of(context).textTheme.titleLarge, style: Theme.of(context).textTheme.titleLarge?.copyWith(
color: Theme.of(context).colorScheme.primary,
),
), ),
), ),
Text("${meal.calories.toStringAsFixed(1)} kcal"), Text("${meal.calories.toStringAsFixed(1)} kcal"),