DVPlatformHost class abstract

One hosting environment. Subclass it and override what the host provides.

Constructors

DVPlatformHost()

Properties

fileStorage → DVFileStorageAdapter?
Storage that replaces the application default while the host is active, or null.
no setter
flags → Set<String>
Named facts about the host while it is active.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
A stable name; registering a second host with the same id replaces the first.
no setter
isActive → bool
Whether the application is running inside this host right now.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signInProviders → Set<String>
The provider names signInCredential answers for.
no setter

Methods

attachRouter(GoRouter router) → void
The router that drives navigation, handed over when it is attached.
detachRouter() → void
The attached router is gone.
frame(BuildContext context, Widget page) → Widget
The page, wrapped in whatever the host needs around every page.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signInCredential(String provider) → DVHostCredential?
The credential for signing in with provider, or null when the host has none. Throws StateError when it should have one and cannot.
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

chromiumExtensionFlag → const String
Flag DVPlatformHost.flags carries inside a Chromium browser extension.
firefoxExtensionFlag → const String
Flag DVPlatformHost.flags carries inside a Firefox browser extension.