TimeList constructor
TimeList({
- Key? key,
- double? padding,
- required int timeStep,
- required TimeOfDay firstTime,
- required TimeOfDay lastTime,
- required void onHourSelected(
- TimeOfDay hour
- TimeOfDay? initialTime,
- Color? borderColor,
- Color? activeBorderColor,
- Color? backgroundColor,
- Color? activeBackgroundColor,
- TextStyle? textStyle,
- TextStyle? activeTextStyle,
Implementation
TimeList({
Key? key,
this.padding,
required this.timeStep,
required this.firstTime,
required this.lastTime,
required this.onHourSelected,
this.initialTime,
this.borderColor,
this.activeBorderColor,
this.backgroundColor,
this.activeBackgroundColor,
this.textStyle,
this.activeTextStyle,
}) : assert(lastTime.after(firstTime), 'lastTime not can be before firstTime'),
super(key: key);