PickerOptions<T> constructor

const PickerOptions<T>({
  1. Widget? top,
  2. Widget? bottom,
  3. Widget? title,
  4. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 10),
  5. EdgeInsetsGeometry? contentPadding,
  6. Widget confirm = const BText('confirm'),
  7. Widget cancel = const BText('cancel'),
  8. Color? backgroundColor,
  9. Decoration? decoration,
  10. PickerTapConfirmCallback<T>? verifyConfirm,
  11. 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,
});