TimelineCanvas constructor

const TimelineCanvas({
  1. Key? key,
  2. required List<TraceSpan> spans,
  3. required double offsetX,
  4. required int offsetY,
  5. required double zoomLevel,
  6. required int maxSpanDuration,
  7. void onHitGridUpdated(
    1. HitGrid
    )?,
  8. double? measureStartMs,
  9. double? measureEndMs,
  10. int? selectionStartUs,
  11. int? selectionEndUs,
  12. TraceSpan? animatedSpan,
  13. double? animationProgress,
})

Implementation

const TimelineCanvas({
  super.key,
  required this.spans,
  required this.offsetX,
  required this.offsetY,
  required this.zoomLevel,
  required this.maxSpanDuration,
  this.onHitGridUpdated,
  this.measureStartMs,
  this.measureEndMs,
  this.selectionStartUs,
  this.selectionEndUs,
  this.animatedSpan,
  this.animationProgress,
});