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

outdated

Native dialogs for Flutter in Add2App use cases.

flutter_native_dialog #

This plugin allows to use native dialogs in Android and iOS. It was made specifically for Add2App use cases when just a part of your UI is made in Flutter. In this case, you can't use the built-in dialog system.

If you are needed integrating Flutter in your existing app, you are better off using the built-in dialog system from the Flutter library

Usage #

To use this plugin, add flutter_native_dialog as a dependency in your pubspec.yaml file.

Example #

import 'package:flutter_native_dialog/flutter_native_dialog.dart';

final result = await FlutterNativeDialog.showConfirmDialog(
      title: "This is a confirm dialog",
      message: "A message in the dialog",
      positiveButtonText: "OK",
      negativeButtonText: "Cancel",
    );

print(result); // true or false depending on user input
3
likes
30
pub points
14%
popularity

Publisher

unverified uploader

Native dialogs for Flutter in Add2App use cases.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, meta

More

Packages that depend on flutter_native_dialog