SimpleQuickCalendar constructor

const SimpleQuickCalendar({
  1. Key? key,
  2. required int initYear,
  3. required int initMonth,
  4. int initDay = 1,
  5. TextStyle? weekTextStyle,
  6. TextStyle? dayTextStyle,
  7. ButtonStyle? selectedStyle,
  8. ButtonStyle? enabledStyle,
  9. ButtonStyle? highlightedStyle,
  10. double buttonPadding = 2,
  11. double horizontalPadding = 2,
  12. double verticalPadding = 2,
  13. double itemAspectRatio = 1 / 1,
  14. Locale locale = const Locale('ko', 'KR'),
})

Implementation

const SimpleQuickCalendar({
  Key? key,
  required this.initYear,
  required this.initMonth,
  this.initDay = 1,
  this.weekTextStyle,
  this.dayTextStyle,
  this.selectedStyle,
  this.enabledStyle,
  this.highlightedStyle,
  this.buttonPadding = 2,
  this.horizontalPadding = 2,
  this.verticalPadding = 2,
  this.itemAspectRatio = 1 / 1,
  this.locale = const Locale('ko', 'KR'),
}) : super(key: key);