AdaptiveSchedule constructor
const
AdaptiveSchedule({
- Key? key,
- required List<
AdaptiveScheduleDay> days, - AdaptiveSize columnsAt = AdaptiveSize.medium,
- AdaptiveHeight minimumColumnsHeight = AdaptiveHeight.compact,
- bool useContainerConstraints = true,
- bool considerOrientation = false,
- double dayWidth = 300,
- double daySpacing = 16,
- double entrySpacing = 12,
- EdgeInsetsGeometry dayPadding = const EdgeInsets.all(16),
- bool animateTransitions = true,
- Duration transitionDuration = const Duration(milliseconds: 250),
- Curve transitionCurve = Curves.easeInOutCubic,
Creates an adaptive schedule.
Implementation
const AdaptiveSchedule({
super.key,
required this.days,
this.columnsAt = AdaptiveSize.medium,
this.minimumColumnsHeight = AdaptiveHeight.compact,
this.useContainerConstraints = true,
this.considerOrientation = false,
this.dayWidth = 300,
this.daySpacing = 16,
this.entrySpacing = 12,
this.dayPadding = const EdgeInsets.all(16),
this.animateTransitions = true,
this.transitionDuration = const Duration(milliseconds: 250),
this.transitionCurve = Curves.easeInOutCubic,
});