choice_dialog library Null safety

Functions

showChoicesButtonDialog<T>(BuildContext context, {Key? key, required Widget title, Widget? content, required 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, {Key? key, required Widget title, Widget? content, required 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, {Key? key, required Widget title, Widget? content, required 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