FrameTimeChart constructor

const FrameTimeChart({
  1. required List<FrameMetrics> frames,
  2. required Duration? frameBudget,
  3. double height = 120,
  4. bool showScale = true,
  5. bool showLegend = true,
  6. Key? key,
})

Creates a chart of frames, compared against frameBudget.

Implementation

const FrameTimeChart({
  required this.frames,
  required this.frameBudget,
  this.height = 120,
  this.showScale = true,
  this.showLegend = true,
  super.key,
});