prompter_009 0.0.1 copy "prompter_009: ^0.0.1" to clipboard
prompter_009: ^0.0.1 copied to clipboard

Libray to create CLI wizards

example/main.dart

import 'package:prompter_009/prompter_009.dart';

//TOOO
//Terminal - printscreen not working
void main() {
  //var terminal = new Terminal();
  //terminal.clearScreen();

  final options = [
    new Option('I want red', '#f00'),
    new Option('I want blue', '00f')
  ];

  final prompter = new Prompter();
  
  String colorCode = prompter.askMultiple('Select a colr', options);

  bool answer = prompter.askBinary('DO you like this lib?');

  print(colorCode);
  print(answer);
}
0
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Libray to create CLI wizards

Homepage

License

unknown (LICENSE)

More

Packages that depend on prompter_009