flutter_native_dialog 0.1.0
flutter_native_dialog: ^0.1.0

Flutter Android iOS

Native dialogs for Flutter in Add2App use cases. (Android and iOS)

flutter_native_dialog Pub Build Status #

This plugin allows using 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 not 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
2
likes
100
pub points
60%
popularity

Native dialogs for Flutter in Add2App use cases. (Android and iOS)

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

wouterhardeman94@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, meta

More

Packages that depend on flutter_native_dialog