dialog_launcher 0.0.2 dialog_launcher: ^0.0.2 copied to clipboard
A Dart package to facilitate the creation and handling of dialog boxes in command line interfaces across different operating systems (Windows, Linux, and macOS).
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate dialog_launcher
Use it
The package has the following executables:
$ dl
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dialog_launcher
With Flutter:
$ flutter pub add dialog_launcher
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dialog_launcher: ^0.0.2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dialog_launcher/dialog_launcher.dart';