BindingWrapper class

The methods and properties are modelled after the the real binding class.

Annotations
  • @experimental

Constructors

BindingWrapper({Hub? hub})

Properties

hashCode int
The hash code for this object.
no setterinherited
instance WidgetsBinding?
The current WidgetsBinding, if one has been created. Provides access to the features exposed by this mixin. The binding must be initialized before using this getter; this is typically done by calling runApp or WidgetsFlutterBinding.ensureInitialized.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ensureInitialized() WidgetsBinding
Returns an instance of the binding that implements WidgetsBinding. If no binding has yet been initialized, the WidgetsFlutterBinding class is used to create and initialize one. You only need to call this method if you need the binding to be initialized before calling runApp.
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