CustomPicker<T> constructor
const
CustomPicker<T> ({
- Key? key,
- required Widget content,
- required PickerOptions<
T> options, - PickerSubjectTapCallback<
T> ? confirmTap, - PickerSubjectTapCallback<
T> ? cancelTap,
Implementation
const CustomPicker({
super.key,
required Widget content,
/// 头部和背景色配置
required super.options,
/// 自定义 确定 按钮 返回参数
super.confirmTap,
/// 自定义 取消 按钮 返回参数
super.cancelTap,
}) : super(child: content);