Timeline constructor

const Timeline({
  1. Key? key,
  2. required List<Marker> children,
  3. TimelinePosition position = TimelinePosition.center,
  4. TimelineProperties properties = const TimelineProperties(),
  5. ScrollController? controller,
  6. ScrollPhysics? physics,
  7. bool shrinkWrap = true,
  8. bool reverse = false,
  9. double maxWidth = double.infinity,
  10. 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);