updated url recipe page
This commit is contained in:
parent
a82ad9f375
commit
8cdfed1946
2 changed files with 41 additions and 37 deletions
|
@ -34,8 +34,11 @@ class AddRecipeURLPageState extends State<AddRecipeURLPage> {
|
|||
children: <Widget>[
|
||||
Expanded(
|
||||
flex: 5,
|
||||
child: InkWell(
|
||||
onTap: () async {
|
||||
child: Container(
|
||||
color: Colors.blue,
|
||||
width: double.infinity,
|
||||
child: TextButton(
|
||||
onPressed: () async {
|
||||
showDialog(context: context, builder: (BuildContext context) {
|
||||
return AlertDialog(
|
||||
title: const Text("URL"),
|
||||
|
@ -71,9 +74,11 @@ class AddRecipeURLPageState extends State<AddRecipeURLPage> {
|
|||
);
|
||||
});
|
||||
},
|
||||
child: Text(url ?? "?"),
|
||||
child: Text(url ?? "Tap to load URL", style: const TextStyle(color: Colors.white)),
|
||||
),
|
||||
),
|
||||
),
|
||||
const Divider(),
|
||||
Expanded(
|
||||
flex: 45,
|
||||
child: ListView(
|
||||
|
|
3
todo.md
3
todo.md
|
@ -13,8 +13,7 @@
|
|||
- RecipeStep.waitUnit should probably be an enum?
|
||||
- refactor to const page names instead of loose strings everywhere ('/path/page')
|
||||
- also do this with hive box names
|
||||
- make the url fetching less shit
|
||||
- probably use a stream for adding to the listview ?
|
||||
- probably use a stream for adding fetched url data to the listview ?
|
||||
|
||||
## Bug
|
||||
- add option to start recipe step instruction after step datetime and not completed
|
||||
|
|
Loading…
Add table
Reference in a new issue