PDatePickerHeader constructor

const PDatePickerHeader({
  1. Key? key,
  2. required String helpText,
  3. required String titleText,
  4. String? titleSemanticsLabel,
  5. required TextStyle? titleStyle,
  6. required Orientation orientation,
  7. bool isShort = false,
  8. required IconData? icon,
  9. required String? iconTooltip,
  10. required VoidCallback onIconPressed,
})

Creates a header for use in a date picker dialog.

Implementation

const PDatePickerHeader({
  Key? key,
  required this.helpText,
  required this.titleText,
  this.titleSemanticsLabel,
  required this.titleStyle,
  required this.orientation,
  this.isShort = false,
  required this.icon,
  required this.iconTooltip,
  required this.onIconPressed,
})  : super(key: key);