CustomPicker<T> constructor

const CustomPicker<T>({
  1. Key? key,
  2. required Widget content,
  3. required PickerOptions<T> options,
  4. PickerSubjectTapCallback<T>? confirmTap,
  5. PickerSubjectTapCallback<T>? cancelTap,
})

Implementation

const CustomPicker({
  super.key,
  required Widget content,

  /// 头部和背景色配置
  required super.options,

  /// 自定义 确定 按钮 返回参数
  super.confirmTap,

  /// 自定义 取消 按钮 返回参数
  super.cancelTap,
}) : super(child: content);