BasePickerTitleConfig constructor

const BasePickerTitleConfig({
  1. Widget? cancel,
  2. String cancelTitle = "Cancel",
  3. Widget? confirm,
  4. String confirmTitle = "Confirm",
  5. Widget? title,
  6. bool showTitle = false,
  7. String? titleContent,
  8. Color titleBackgroundColor = Colors.white,
  9. Color backgroundColor = Colors.white,
})

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. titleBackgroundColor Title background color titleHeight Title height backgroundColor Background color of picker

Implementation

const BasePickerTitleConfig({
  this.cancel,
  this.cancelTitle = "Cancel",
  this.confirm,
  this.confirmTitle = "Confirm",
  this.title,
  this.showTitle = false,
  this.titleContent,
  this.titleBackgroundColor = Colors.white,
  this.backgroundColor = Colors.white,
});