FrameSample class

One frame's build + raster timing, used to derive FPS/jank in the DevTools Performance tab.

Constructors

FrameSample({required Duration buildDuration, required Duration rasterDuration, required DateTime timestamp})
const

Properties

buildDuration → Duration
final
fps → double
Approximate instantaneous FPS implied by this single frame's total duration, clamped to a sane display range.
no setter
hashCode → int
The hash code for this object.
no setterinherited
isJanky → bool
no setter
rasterDuration → Duration
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
final
totalDuration → Duration
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited