TimelineWidget constructor
const
TimelineWidget({
- Key? key,
- required List<
Marker> items, - required TimelineProperties properties,
- ScrollController? controller,
- ScrollPhysics? physics,
- bool shrinkWrap = false,
- bool reverse = false,
- double maxWidth = double.infinity,
- double horizontalPadding = 16,
- MarkerIconAlignment iconAlignment = MarkerIconAlignment.top,
Creates a new TimelineWidget.
The items and properties parameters are required.
Other parameters provide additional customization options for the timeline's
appearance and behavior.
Implementation
const TimelineWidget({
Key? key,
required this.items,
required this.properties,
this.controller,
this.physics,
this.shrinkWrap = false,
this.reverse = false,
this.maxWidth = double.infinity,
this.horizontalPadding = 16,
this.iconAlignment = MarkerIconAlignment.top,
}) : super(key: key);