menu/menu_io
library
Functions
-
command(dynamic body(String command))
→ void
-
Declare function called when we enter a non handled command
-
devWrite(Object? message)
→ void
-
Write a line on the presenter, deprecated to make it a temp debug call
-
enter(dynamic body())
→ void
-
Declare function called when we enter a menu
-
Initialize the test menu console.
-
item(String name, dynamic body(), {String? cmd, bool? solo})
→ void
-
Declare a menu item
-
leave(dynamic body())
→ void
-
Declare function called when we leave a menu
-
mainMenuConsole(List<String> arguments, void declare())
→ void
-
Main menu declaration
-
Declare a menu
-
run the last declared menu/items
-
prompt([Object? message])
→ Future<String>
-
Prompt for a string.
-
Show a new menu.
-
solo_item(String name, dynamic body(), {String? cmd, bool? solo})
→ void
-
Unless
solo
is set to false, will run as solo.
-
Unless
solo
is set to false, will run as solo.
-
write(Object? message)
→ void
-
Write a line on the presenter