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({
  this.context,
  bool? showTitleBar,
  this.menu,
  double? pickerHeight,
  double? pickerTitleHeight,
  double? pickerItemHeight,
  double? menuHeight,
  Widget? cancelButton,
  Widget? commitButton,
  Widget? title,
  Decoration? headDecoration,
  Color? backgroundColor,
  Color? textColor,
  this.textSize,
  this.itemOverlay,
})  : _showTitleBar = showTitleBar,
      _pickerHeight = pickerHeight,
      _pickerTitleHeight = pickerTitleHeight,
      _pickerItemHeight = pickerItemHeight,
      _menuHeight = menuHeight,
      _cancelButton = cancelButton,
      _commitButton = commitButton,
      _title = title,
      _headDecoration = headDecoration,
      _backgroundColor = backgroundColor,
      _textColor = textColor;