LunarDatePickerTheme constructor

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

Implementation

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