PickerOptions<T> constructor
const
PickerOptions<T> ({
- Widget? top,
- Widget? bottom,
- Widget? title,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 10),
- EdgeInsetsGeometry? contentPadding,
- Widget confirm = const BText('confirm'),
- Widget cancel = const BText('cancel'),
- Color? backgroundColor,
- Decoration? decoration,
- PickerTapConfirmCallback<
T> ? verifyConfirm, - PickerTapCancelCallback<
T> ? verifyCancel,
Implementation
const PickerOptions({
this.top,
this.bottom,
this.title,
this.padding = const EdgeInsets.symmetric(horizontal: 10),
this.contentPadding,
this.confirm = const BText('confirm'),
this.cancel = const BText('cancel'),
this.backgroundColor,
this.decoration,
this.verifyConfirm,
this.verifyCancel,
});