BasePickerOptions<T> constructor
BasePickerOptions<T> ({
- String? title,
- PickerTapConfirmCallback<
T> ? verifyConfirm, - PickerTapCancelCallback<
T> ? verifyCancel, - Color? backgroundColor,
- EdgeInsetsGeometry? contentPadding,
- Decoration? decoration,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 10),
- Widget? top,
- Widget? bottom = const BaseDivider(),
- 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)));