AdaptiveSchedule constructor

const AdaptiveSchedule({
  1. Key? key,
  2. required List<AdaptiveScheduleDay> days,
  3. AdaptiveSize columnsAt = AdaptiveSize.medium,
  4. AdaptiveHeight minimumColumnsHeight = AdaptiveHeight.compact,
  5. bool useContainerConstraints = true,
  6. bool considerOrientation = false,
  7. double dayWidth = 300,
  8. double daySpacing = 16,
  9. double entrySpacing = 12,
  10. EdgeInsetsGeometry dayPadding = const EdgeInsets.all(16),
  11. bool animateTransitions = true,
  12. Duration transitionDuration = const Duration(milliseconds: 250),
  13. 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,
});