copyWith method
PickerOptions
copyWith({
- Color? backgroundColor,
- Decoration? decoration,
- Widget? bottom,
- Widget? top,
- EdgeInsetsGeometry? padding,
- Widget? confirm,
- Widget? cancel,
- Widget? title,
- PickerTapConfirmCallback<
T> ? verifyConfirm, - PickerTapCancelCallback<
T> ? verifyCancel,
Implementation
PickerOptions copyWith({
Color? backgroundColor,
Decoration? decoration,
Widget? bottom,
Widget? top,
EdgeInsetsGeometry? padding,
Widget? confirm,
Widget? cancel,
Widget? title,
PickerTapConfirmCallback<T>? verifyConfirm,
PickerTapCancelCallback<T>? verifyCancel,
}) =>
PickerOptions<T>(
decoration: decoration ?? this.decoration,
backgroundColor: backgroundColor ?? this.backgroundColor,
bottom: bottom ?? this.bottom,
top: top ?? this.top,
padding: padding ?? this.padding,
title: title ?? this.title,
confirm: confirm ?? this.confirm,
cancel: cancel ?? this.cancel,
verifyConfirm: verifyConfirm ?? this.verifyConfirm,
verifyCancel: verifyCancel ?? this.verifyCancel);