ui/native_dialog library

Classes

DialogAction<T>
A dialog action which is used to show the actions of a native dialog. Tapping a action will also close the dialog.

Functions

showNativeDialog<T>(BuildContext context, {required String title, required List<DialogAction<T>> actions, required String content}) Future<T?>
A native dialog which shows a CupertinoAlertDialog on iOS and a AlertDialog on Android.