BasePickerTitleConfig constructor
const
BasePickerTitleConfig({})
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,
});