diff --git a/Todo.md b/Todo.md new file mode 100644 index 0000000..0d3d133 --- /dev/null +++ b/Todo.md @@ -0,0 +1,9 @@ +# To-do + +## Part 1 + +- [x] Add "Hit me" button +- [x] Show a pop-up when the user taps it +- [x] Put game info on the screen +- [x] Put slider on screen: 1 -> 100 +- [x] Read value of the slider \ No newline at end of file diff --git a/lib/main.dart b/lib/main.dart index 72a11cc..1b689ca 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -78,8 +78,8 @@ class _GamePageState extends State { context: context, builder: (BuildContext context) { return PlatformAlertDialog( - title: Text("Hello There."), - content: Text("This is my first pop-up."), + title: PlatformText("Hello There."), + content: PlatformText("The slider's value is ${_model.current}"), actions: [okButton], ); });