TimelineCanvas constructor
const
TimelineCanvas({
- Key? key,
- required List<
TraceSpan> spans, - required double offsetX,
- required int offsetY,
- required double zoomLevel,
- required int maxSpanDuration,
- void onHitGridUpdated()?,
- double? measureStartMs,
- double? measureEndMs,
- int? selectionStartUs,
- int? selectionEndUs,
- TraceSpan? animatedSpan,
- 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,
});