native_dialog_plus 1.0.2
native_dialog_plus: ^1.0.2 copied to clipboard
A flutter minimalistic plugin to show native Dialogs!, Compatible with iOS and Android, uses the native UI on each platform to show alert and confirm dialogs. It automatically uses the localized texts [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add native_dialog_plus
With Flutter:
$ flutter pub add native_dialog_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
native_dialog_plus: ^1.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:native_dialog_plus/native_dialog_plus.dart';