DayBar constructor

DayBar({
  1. Key? key,
  2. required DateTime date,
  3. required DayBarStyle style,
  4. double? height,
  5. double? width,
  6. DayBarTapCallback? onDayBarTappedDown,
})

Creates a new day bar instance.

Implementation

DayBar({
  Key? key,
  required DateTime date,
  required this.style,
  this.height,
  this.width,
  this.onDayBarTappedDown,
})  : date = date.yearMonthDay,
      super(key: key);