BasePickerOptions<T> constructor

BasePickerOptions<T>({
  1. String? title,
  2. PickerTapConfirmCallback<T>? verifyConfirm,
  3. PickerTapCancelCallback<T>? verifyCancel,
  4. Color? backgroundColor,
  5. EdgeInsetsGeometry? contentPadding,
  6. Decoration? decoration,
  7. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 10),
  8. Widget? top,
  9. Widget? bottom = const BaseDivider(),
  10. double height = 250,
})

Implementation

BasePickerOptions(
    {String? title,
    super.verifyConfirm,
    super.verifyCancel,
    super.backgroundColor,
    super.contentPadding,
    super.decoration,
    super.padding,
    super.top,
    super.bottom = const BaseDivider(),
    double height = 250})
    : super(
          title: Center(child: TextLarge(title ?? '', color: UCS.mainBlack)),
          confirm: TextNormal('确定', color: Global().mainColor),
          cancel: TextNormal('取消', color: UCS.mainBlack.withOpacity(0.6)));