PickerStyle constructor

PickerStyle({
  1. BuildContext? context,
  2. bool? showTitleBar,
  3. Widget? menu,
  4. double? pickerHeight,
  5. double? pickerTitleHeight,
  6. double? pickerItemHeight,
  7. double? menuHeight,
  8. Widget? cancelButton,
  9. Widget? commitButton,
  10. Widget? title,
  11. Decoration? headDecoration,
  12. Color? backgroundColor,
  13. Color? textColor,
  14. double? textSize,
  15. Widget? itemOverlay,
})

Implementation

PickerStyle({
  BuildContext? context,
  bool? showTitleBar,
  Widget? menu,
  double? pickerHeight,
  double? pickerTitleHeight,
  double? pickerItemHeight,
  double? menuHeight,
  Widget? cancelButton,
  Widget? commitButton,
  Widget? title,
  Decoration? headDecoration,
  Color? backgroundColor,
  Color? textColor,
  double? textSize,
  Widget? itemOverlay,
}) {
  this._context = context;
  this._showTitleBar = showTitleBar;
  this._menu = menu;

  this._pickerHeight = pickerHeight;
  this._pickerTitleHeight = pickerTitleHeight;
  this._pickerItemHeight = pickerItemHeight;
  this._menuHeight = menuHeight;

  this._cancelButton = cancelButton;
  this._commitButton = commitButton;
  this._title = title;
  this._headDecoration = headDecoration;
  this._backgroundColor = backgroundColor;
  this._textColor = textColor;
  this._textSize = textSize;
  this._itemOverlay = itemOverlay;
}