TimesSlotGridViewFromList constructor
const
TimesSlotGridViewFromList({
- Key? key,
- required List<
DateTime> initTime, - required ValueChanged<
List< onChange,DateTime> > - required List<
DateTime> listDates, - String locale = "en",
- int crossAxisCount = 3,
- IconData? icon,
- Color? selectedColor,
- Color? unSelectedColor,
- bool multiSelection = false,
- DisplayType displayType = DisplayType.groupingWithDisplayDayPart,
- double mainAxisSpacing = 5,
- double crossAxisSpacing = 5,
- double childAspectRatio = 3,
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,
this.multiSelection = false,
this.displayType = DisplayType.groupingWithDisplayDayPart,
this.mainAxisSpacing = 5,
this.crossAxisSpacing = 5,
this.childAspectRatio = 3,
});