prompter_crh 1.0.0

Prompter #

A library to create CLI wizards. Created for Udemy course: Dart and Flutter: the Complete Developer's Guide


import 'package:prompter_crh/prompter_crh.dart';

void main() {
  var options = [
    Option('I want red', '#f00'),
    Option('I want blue', '#00f'),

  final prompter = Prompter();

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

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


Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  prompter_crh: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get


3. Import it

Now in your Dart code, you can use:

import 'package:prompter_crh/prompter_crh.dart';
Code health derived from static analysis. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Aug 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.4.0
  • pana: 0.12.19


Detected platforms: Flutter, other

Primary library: package:prompter_crh/prompter_crh.dart with components: io.

Health issues and suggestions

Document public APIs. (-1 points)


Maintenance issues and suggestions

Provide a file named (-20 points)


Homepage URL isn't helpful. (-10 points)

Update the homepage field from pubspec.yaml: link to a website about the package or use the source repository URL.

The package description is too short. (-20 points)



Package Constraint Resolved Available
Direct dependencies
Dart SDK <3.0.0