helpers/show_radio_picker library

Functions

showMaterialRadioPicker<T>({required BuildContext context, String? title, required List<T> items, T? selectedItem, Color? headerColor, Color? headerTextColor, Color? backgroundColor, Color? buttonTextColor, String? confirmText, bool cancellable = true, String? cancelText, double? maxLongSide, double? maxShortSide, ValueChanged<T>? onChanged, VoidCallback? onConfirmed, VoidCallback? onCancelled, Transformer<T>? transformer}) Future<T?>
Allows selection of a single from a radio list