Skip to content

Commit

Permalink
added newlines for multi line strings
Browse files Browse the repository at this point in the history
  • Loading branch information
matt200-ok committed Jun 25, 2024
1 parent e1af9d8 commit a44fa49
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions demo/flutter-clock/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,11 @@ class _MyHomePageState extends State<MyHomePage> {
_performStopwatchCommand(slots);
} else if (inference.intent! == 'availableCommands') {
Fluttertoast.showToast(
msg: "Try saying: \n" " - 'set timer for 5 minutes'\n" " - 'set alarm for tomorrow at 10:30am'\n" " - 'start stopwatch'\n" " - 'show me the time'",
msg: "Try saying: \n"
" - 'set timer for 5 minutes'\n"
" - 'set alarm for tomorrow at 10:30am'\n"
" - 'start stopwatch'\n"
" - 'show me the time'",
toastLength: Toast.LENGTH_LONG,
gravity: ToastGravity.TOP,
timeInSecForIosWeb: 5,
Expand All @@ -151,7 +155,8 @@ class _MyHomePageState extends State<MyHomePage> {
}
} else {
Fluttertoast.showToast(
msg: "Didn't understand command!\n" "Say 'PicoClock, what can I say?' to see a list of example commands",
msg: "Didn't understand command!\n"
"Say 'PicoClock, what can I say?' to see a list of example commands",
toastLength: Toast.LENGTH_LONG,
gravity: ToastGravity.TOP,
timeInSecForIosWeb: 2,
Expand Down

0 comments on commit a44fa49

Please sign in to comment.