Schedule constructor

Schedule({
  1. required int day,
  2. required String time,
  3. required bool availability,
  4. required Color timeAvailableColor,
  5. required Color timeUnavailableColor,
  6. required Color timeAvailableTextColor,
  7. required Color timeUnavailableTextColor,
  8. required dynamic onTapTimeAvailable(
    1. Object
    ),
  9. required dynamic onTapTimeUnavailable(
    1. Object
    ),
  10. double? timeAvailableTextSize,
  11. double? timeUnavailableTextSize,
})

Implementation

Schedule(
    {required this.day,
    required this.time,
    required this.availability,
    required this.timeAvailableColor,
    required this.timeUnavailableColor,
    required this.timeAvailableTextColor,
    required this.timeUnavailableTextColor,
    required this.onTapTimeAvailable,
    required this.onTapTimeUnavailable,this.timeAvailableTextSize,this.timeUnavailableTextSize});