TimesSlotGridViewFromInterval constructor

const TimesSlotGridViewFromInterval({
  1. Key? key,
  2. required List<DateTime> initTime,
  3. required ValueChanged<List<DateTime>> onChange,
  4. required TimeSlotInterval timeSlotInterval,
  5. String locale = "en",
  6. int crossAxisCount = 3,
  7. IconData? icon,
  8. Color? selectedColor,
  9. Color? unSelectedColor,
  10. bool multiSelection = false,
  11. DisplayType displayType = DisplayType.groupingWithDisplayDayPart,
  12. double mainAxisSpacing = 5,
  13. double crossAxisSpacing = 5,
  14. double childAspectRatio = 3,
})

Implementation

const TimesSlotGridViewFromInterval({
  super.key,
  required this.initTime,
  required this.onChange,
  required this.timeSlotInterval,
  this.locale = "en",
  this.crossAxisCount = 3,
  this.icon,
  this.selectedColor,
  this.unSelectedColor,
  this.multiSelection = false,
  this.displayType = DisplayType.groupingWithDisplayDayPart,
  this.mainAxisSpacing = 5,
  this.crossAxisSpacing = 5,
  this.childAspectRatio = 3,
});