Skip to content

Commit

Permalink
create multiline text
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinlim committed Dec 21, 2021
1 parent 81b4c27 commit 7599ab7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions lib/instructions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,18 @@ class SecondScreen extends StatelessWidget {
child: Center(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: new Text("In this task, you will need to find the hidden pathway.
You start by tapping on the tile in the top left corner, then tap on tiles one at a time to find the hidden path to the tile in the bottom right corner.
A checkmark in a green box means that you chose correctly. An X in a red box means you chose incorrectly. After a wrong move, you must tap on the last correct tile you chose, then choose a tile in a different direction.
child: new Text(
"""
In this task, you will need to find the hidden pathway.
You start by tapping on the tile in the top left corner, then tap on tiles one at a time to find the hidden path to the tile in the bottom right corner.
A checkmark in a green box means that you chose correctly. An X in a red box means you chose incorrectly. After a wrong move, you must tap on the last correct tile you chose, then choose a tile in a different direction. \
The rules for the task are:
Only move to adjacent tiles (left, right, up, or down).
Do not move diagonally.
Do not tap on the same tile twice.
Move as quickly and as accurately as you can",
Move as quickly and as accurately as you can""",
style: new TextStyle(fontSize: 20, height:1.5)),
),
),
Expand Down

0 comments on commit 7599ab7

Please sign in to comment.