cli_menu 0.2.2 cli_menu: ^0.2.2 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 = Menu(["Red", "Green", "Orange", "Fuchsia"]);
final result = menu.choose();
print("You picked: $result");
}