TimesSlotGridViewFromList constructor

const TimesSlotGridViewFromList({
  1. Key? key,
  2. required DateTime initTime,
  3. required ValueChanged<DateTime> onChange,
  4. required List<DateTime> listDates,
  5. String locale = "en",
  6. int crossAxisCount = 3,
  7. IconData? icon,
  8. Color? selectedColor,
  9. Color? unSelectedColor,
})

Implementation

const TimesSlotGridViewFromList({
  super.key,
  required this.initTime,
  required this.onChange,
  required this.listDates,
  this.locale = "en",
  this.crossAxisCount = 3,
  this.icon,
  this.selectedColor,
  this.unSelectedColor,
});