cli_menu 0.2.0 cli_menu: ^0.2.0 copied to clipboard
A simple menu (picker) that works on the command line.
import 'package:cli_menu/cli_menu.dart';
void main() {
print("Pick favorite color:");
final menu = new Menu(["Red", "Green", "Orange", "Fuchsia"]);
final result = menu.choose();
print("You picked: $result");
}