added basic layout for the notification page
This commit is contained in:
parent
f9b0f6d226
commit
375a6feb07
1 changed files with 54 additions and 2 deletions
|
@ -45,8 +45,60 @@ class PizzaEventNotificationState extends State<PizzaEventNotificationPage> {
|
|||
padding: EdgeInsets.fromLTRB(40, 10, 40, 10),
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
Text(pizzaEvent.name),
|
||||
Text(recipeStep.name)
|
||||
Expanded(
|
||||
flex: 10,
|
||||
child: Center(
|
||||
child: Text(pizzaEvent.name),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
flex: 10,
|
||||
child: Center(
|
||||
child: Text(recipeStep.name)
|
||||
),
|
||||
),
|
||||
Divider(),
|
||||
Expanded(
|
||||
flex: 10,
|
||||
child: Container(
|
||||
color: Colors.blue,
|
||||
width: double.infinity,
|
||||
child: TextButton(
|
||||
child: Text("Ignore", style: TextStyle(color: Colors.white)),
|
||||
onPressed: () async {
|
||||
|
||||
},
|
||||
)
|
||||
)
|
||||
),
|
||||
Divider(),
|
||||
Expanded(
|
||||
flex: 30,
|
||||
child: Container(
|
||||
color: Colors.blue,
|
||||
width: double.infinity,
|
||||
child: TextButton(
|
||||
child: Text("Snooze 15 minutes", style: TextStyle(color: Colors.white)),
|
||||
onPressed: () async {
|
||||
|
||||
},
|
||||
)
|
||||
)
|
||||
),
|
||||
Divider(),
|
||||
Expanded(
|
||||
flex: 40,
|
||||
child: Container(
|
||||
color: Colors.blue,
|
||||
width: double.infinity,
|
||||
child: TextButton(
|
||||
child: Text("Start!", style: TextStyle(color: Colors.white)),
|
||||
onPressed: () async {
|
||||
|
||||
},
|
||||
)
|
||||
)
|
||||
),
|
||||
]
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue