FlutterLifetime<TApp extends Widget> class
- Inheritance
-
- Object
- HostLifetime
- FlutterLifetime
Constructors
-
FlutterLifetime(TApp application, Options<
FlutterLifetimeOptions> options, Iterable<FlutterAppBuilder> builders, ServiceProvider services, HostEnvironment environment, HostApplicationLifetime applicationLifetime, LoggerFactory loggerFactory)
Properties
- applicationLifetime → FlutterApplicationLifetime
-
no setter
- environment → HostEnvironment
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
stop(
CancellationToken cancellationToken) → Future< void> -
Called from
Host.stop(cancellationToken)
to indicate that the host is stopping and it's time to shut down.override -
toString(
) → String -
A string representation of this object.
inherited
-
waitForStart(
CancellationToken cancellationToken) → Future< void> -
Called at the start of
Host.start(cancellationToken)
which will wait until it's complete before continuing. This can be used to delay startup until signaled by an external event.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited