prompter_gamer 0.0.3 prompter_gamer: ^0.0.3 copied to clipboard
Library to create CLI wizards
/*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);
}