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

This package is the result of following a tutorial, and is not intended for real use.

example/main.dart

import 'package:term_prompter_dl/term_prompter_dl.dart';

void main() {
  List<Option> options = [
    Option('I want red', '#f00'),
    Option('I want green', '#0f0'),
    Option('I want blue', '#00f'),
  ];

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

  bool yesNo = prompter.askBinary('Do you like Dart?');

  print(colorCode);
  print(yesNo);
}
0
likes
25
pub points
0%
popularity

Publisher

unverified uploader

This package is the result of following a tutorial, and is not intended for real use.

Homepage

License

unknown (LICENSE)

More

Packages that depend on term_prompter_dl