TimeLineComponent constructor

const TimeLineComponent({
  1. Key? key,
  2. required Time startTime,
  3. TimeLineStyle style = const TimeLineStyle(),
  4. required Time endTime,
  5. required double height,
  6. required double width,
  7. required TimeSlot timeSlot,
  8. required ScrollController scroll,
})

Implementation

const TimeLineComponent(
    {Key? key,
    required this.startTime,
    this.style = const TimeLineStyle(),
    required this.endTime,
    required this.height,
    required this.width,
    required this.timeSlot,
    required this.scroll})
    : super(key: key);