PickerTitleConfig constructor

const PickerTitleConfig({
  1. Widget? cancel,
  2. Widget? confirm,
  3. Widget? title,
  4. bool showTitle = pickerShowTitleDefault,
  5. String? titleContent,
})

DateTimePicker theme.

cancel Custom cancel widget. confirm Custom confirm widget. title Custom title widget. If specify a title widget, the cancel and confirm widgets will not display. Must set titleHeight value for custom title widget. showTitle Whether display title widget or not. If set false, the default cancel and confirm widgets will not display, but the custom title widget will display if had specified one custom title widget. titleContent Title content

Implementation

const PickerTitleConfig({
  this.cancel,
  this.confirm,
  this.title,
  this.showTitle = pickerShowTitleDefault,
  this.titleContent,
});