updated pizza event widget
This commit is contained in:
parent
f2c6682755
commit
46b4f38928
2 changed files with 6 additions and 4 deletions
|
@ -10,8 +10,11 @@ class PizzaEventWidget extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context){
|
Widget build(BuildContext context){
|
||||||
return Container(
|
return Container(
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: Theme.of(context).primaryColor.withAlpha(30),
|
||||||
|
borderRadius: const BorderRadius.all(Radius.circular(10)),
|
||||||
|
),
|
||||||
height: 120,
|
height: 120,
|
||||||
color: Colors.blueAccent,
|
|
||||||
child: Container(
|
child: Container(
|
||||||
padding: const EdgeInsets.all(8),
|
padding: const EdgeInsets.all(8),
|
||||||
child: Column(
|
child: Column(
|
||||||
|
@ -37,8 +40,8 @@ class PizzaEventWidget extends StatelessWidget {
|
||||||
divisions: pizzaEvent.recipe.recipeSteps.length,
|
divisions: pizzaEvent.recipe.recipeSteps.length,
|
||||||
value: pizzaEvent.recipe.getStepsCompleted().toDouble(),
|
value: pizzaEvent.recipe.getStepsCompleted().toDouble(),
|
||||||
onChanged: (d) {},
|
onChanged: (d) {},
|
||||||
activeColor: Colors.green,
|
activeColor: Theme.of(context).highlightColor,
|
||||||
inactiveColor: Colors.white,
|
inactiveColor: Theme.of(context).highlightColor.withOpacity(0.5),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
1
todo.md
1
todo.md
|
@ -10,5 +10,4 @@
|
||||||
## Refactor
|
## Refactor
|
||||||
- create a theme for the app
|
- create a theme for the app
|
||||||
- prettify view event page
|
- prettify view event page
|
||||||
- prettify pizza event widget
|
|
||||||
## Bug
|
## Bug
|
Loading…
Add table
Reference in a new issue