BasicPickerOptions<T> constructor

BasicPickerOptions<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 BasicDivider(),
  10. double height = 250,
})

Implementation

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