TimeSlotGridView constructor
const
TimeSlotGridView({
- 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,
- required bool multiSelection,
- required DisplayType displayType,
- required double mainAxisSpacing,
- required double crossAxisSpacing,
- required double childAspectRatio,
- required Color? disabledColor,
- required List<
DateTime> ? disabledTimeSlots, - required Color? disabledTextColor,
- required BorderRadiusGeometry? borderRadius,
Implementation
const TimeSlotGridView({
super.key,
required this.initTime,
required this.onChange,
required this.listDates,
this.locale = "en",
this.crossAxisCount = 3,
this.icon,
this.selectedColor,
this.unSelectedColor,
required this.multiSelection,
required this.displayType,
required this.mainAxisSpacing,
required this.crossAxisSpacing,
required this.childAspectRatio,
required this.disabledColor,
required this.disabledTimeSlots,
required this.disabledTextColor,
required this.borderRadius,
});