prompter_oa 0.0.1 prompter_oa: ^0.0.1 copied to clipboard
Library to create prompter
import 'package:prompter_oa/prompter_oa.dart';
void main() {
final options = [
Option(label: 'I want red', value: '#f00'),
Option(label: 'I want blue', value: '#00f')
];
final prompter = Prompter();
String colorCode = prompter.askMultiple('Select a color', options);
bool answer = prompter.askBinary('Do you like this lib?');
print(colorCode);
print(answer);
}