TimesSlotGridViewFromInterval constructor
const
TimesSlotGridViewFromInterval({
- Key? key,
- required List<
DateTime> initTime, - required ValueChanged<
List< onChange,DateTime> > - required TimeSlotInterval timeSlotInterval,
- 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,
- Color? disabledColor,
- List<
DateTime> ? disabledTimeSlots, - Color? disabledTextColor,
- BorderRadiusGeometry? borderRadius,
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,
this.disabledColor,
this.disabledTimeSlots,
this.disabledTextColor,
this.borderRadius,
});