DatePickerTheme constructor

const DatePickerTheme({
  1. TextStyle? cancelStyle,
  2. TextStyle? doneStyle,
  3. TextStyle itemStyle = const TextStyle(color: Color(0xFF000046), fontSize: 18),
  4. Color? backgroundColor = Colors.white,
  5. double containerHeight = 210.0,
  6. double titleHeight = 44.0,
  7. double itemHeight = 36.0,
})

Implementation

const DatePickerTheme({
  this.cancelStyle,
  this.doneStyle,
  this.itemStyle = const TextStyle(color: Color(0xFF000046), fontSize: 18),
  this.backgroundColor = Colors.white,
  this.containerHeight = 210.0,
  this.titleHeight = 44.0,
  this.itemHeight = 36.0,
});