choice_dialog library

Functions

showChoicesButtonDialog<T>(BuildContext context, {Widget title, Widget content, List<DialogChoice<T>> choices, Widget cancelWidget, bool barrierDismissible = false, Color barrierColor, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings routeSettings}) Future<T>
Displays a dialog with the choices informed in the parameter choices similar to a ListTile. [...]
showChoicesCheckBoxDialog<T>(BuildContext context, {Widget title, Widget content, List<DialogChoice<T>> choices, Widget cancelWidget, Widget confirmWidget, bool barrierDismissible = false, Color barrierColor, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings routeSettings}) Future<List<T>>
Displays a dialog with the choices informed in the parameter choices using checkboxes. [...]
showChoicesRadioDialog<T>(BuildContext context, {Widget title, Widget content, List<DialogChoice<T>> choices, Widget cancelWidget, Widget confirmWidget, bool barrierDismissible = false, Color barrierColor, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings routeSettings}) Future<T>
Displays a dialog with the choices informed in the parameter choices using radio buttons. [...]

Enums

DialogChoicesType