Timeline constructor

const Timeline({
  1. Key? key,
  2. required List<Marker> children,
  3. TimelineProperties properties = const TimelineProperties(),
  4. ScrollController? controller,
  5. ScrollPhysics? physics,
  6. bool shrinkWrap = true,
  7. bool reverse = false,
  8. double maxWidth = double.infinity,
  9. double horizontalPadding = 16,
})

Implementation

const Timeline({
  Key? key,
  required this.children,
  this.properties = const TimelineProperties(),
  this.controller,
  this.physics,
  this.shrinkWrap = true,
  this.reverse = false,
  this.maxWidth = double.infinity,
  this.horizontalPadding = 16,
}) : super(key: key);