BasicPickerOptions<T> constructor
BasicPickerOptions<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 BasicDivider(),
- 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)));