Timeline constructor
const
Timeline({
- Key? key,
- required List<
Marker> children, - TimelinePosition position = TimelinePosition.center,
- TimelineProperties properties = const TimelineProperties(),
- ScrollController? controller,
- ScrollPhysics? physics,
- bool shrinkWrap = true,
- bool reverse = false,
- double maxWidth = double.infinity,
- double horizontalPadding = 16,
Implementation
const Timeline({
Key? key,
required this.children,
this.position = TimelinePosition.center,
this.properties = const TimelineProperties(),
this.controller,
this.physics,
this.shrinkWrap = true,
this.reverse = false,
this.maxWidth = double.infinity,
this.horizontalPadding = 16,
}) : super(key: key);