Merge pull request #10 from Cyanose/feature/meal-name-in-cyan-color
set meal name color to cyan
This commit is contained in:
commit
b90d108163
1 changed files with 3 additions and 1 deletions
|
@ -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"),
|
||||||
|
|
Loading…
Reference in a new issue