ScenarioTime class sealed

Constructors

ScenarioTime.real({double animations})
The wall clock under LiveTestWidgetsFlutterBinding: real timers, real sockets, real work landing on its own. animations scales every ticker — 0.1 runs a 300ms page transition in 30ms, and a step's picture is taken after settle so the default loses nothing. A folder that films a transition says animations: 1.
const
factory

Properties

animations → double
The ticker scale; 1 under fake.
no setter
hashCode → int
The hash code for this object.
no setterinherited
isReal → bool
no setter
name → String
fake or real — the wire, the flag and the report all say this.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

fake → const ScenarioTime
FakeAsync under AutomatedTestWidgetsFlutterBinding. The default, and what every scenario before 2026-09 ran on.