prompter_gamer 0.0.3 copy "prompter_gamer: ^0.0.3" to clipboard
prompter_gamer: ^0.0.3 copied to clipboard

Library to create CLI wizards

example/main.dart

/*import '../lib/src/prompter.dart'; ==import 'package:prompter_sg/src/terminal.dart';*/
import 'package:prompter_gamer/prompter_gamer.dart';
void main() {
  final options =[
    new Option('I want red', '#f000'),
    new Option('I want blue ', '#00f')
  ];
  final prompter =new Prompter();
  /*final userpick=prompter.askMultiple('What Color do you Want ?', options);
  print(userpick);
*/
 String colorCode=prompter.askMultiple('Select a Color', options);
 bool answer=prompter.askBinary('Do You like This Lib?ظ');
 print(colorCode);
 print(answer);
}
0
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Library to create CLI wizards

Homepage

License

unknown (LICENSE)

More

Packages that depend on prompter_gamer