AdaptiveTimeline constructor
const
AdaptiveTimeline({
- Key? key,
- required List<
AdaptiveTimelineEntry> entries, - AdaptiveSize horizontalAt = AdaptiveSize.medium,
- AdaptiveHeight minimumHorizontalHeight = AdaptiveHeight.compact,
- bool useContainerConstraints = true,
- bool considerOrientation = false,
- double entryWidth = 260,
- double entrySpacing = 20,
- EdgeInsetsGeometry cardPadding = const EdgeInsets.all(16),
- bool animateTransitions = true,
- Duration transitionDuration = const Duration(milliseconds: 250),
- Curve transitionCurve = Curves.easeInOutCubic,
Creates an adaptive timeline.
Implementation
const AdaptiveTimeline({
super.key,
required this.entries,
this.horizontalAt = AdaptiveSize.medium,
this.minimumHorizontalHeight = AdaptiveHeight.compact,
this.useContainerConstraints = true,
this.considerOrientation = false,
this.entryWidth = 260,
this.entrySpacing = 20,
this.cardPadding = const EdgeInsets.all(16),
this.animateTransitions = true,
this.transitionDuration = const Duration(milliseconds: 250),
this.transitionCurve = Curves.easeInOutCubic,
});