TickerRate class sealed
Configures how a FixedTicker schedules callbacks.
Use one of the named constructors:
- TickerRate.vsync for normal display-refresh-rate ticking
- TickerRate.interval for fixed-rate ticking at a specific duration
- TickerRate.fps for fixed-rate ticking at a given frames-per-second
- Annotations
Constructors
- TickerRate.fps(double fps)
-
Fixed-rate ticking at
fpsframes per second.factory - TickerRate.interval(Duration interval)
-
Fixed-rate ticking at the given
interval.constfactory - TickerRate.vsync()
-
Normal vsync-driven ticking at the display's refresh rate.
constfactory
Properties
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