widgets/multi_picker_bottom_sheet library

Functions

showMultiPickerBottomSheet<T, V>(BuildContext context, {required List<T> sources, required ValueMapper<T, String?> labelMapper, String? title, List<V>? initialValue, ValueMapper<T, V>? valueMapper, ValueMapper<T, String>? subtitleMapper, MultiPickerItemBuilder<T>? pickerItemBuilder, bool? isScrollControlled, int? maxCount, int? minCount, ValueMapper<T, bool>? editableMapper, ValueMapper<String, T>? editableItemMapper, LabelEditCallback? onLabelChanged, bool enabledMapper(int index, T data)?}) Future<List<V>?>
多选选择

Typedefs

LabelEditCallback = void Function(int index, String value)
标签编辑回调
MultiPickerItemBuilder<T> = Widget Function(BuildContext context, T data, bool checked, void onChanged(bool? val, T data))
多选项构造方法