WidgetDriverProvider<Driver extends WidgetDriver> class abstract

This is a factory which knows how to create Drivers.

The WidgetDriver framework will use these to create the correct type of Drivers. E.g. when you are running tests then the TestDrivers will be created. And when running the real app then the real Driver gets created.

Constructors

WidgetDriverProvider()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildDriver() → Driver
Creates and returns the Driver with the real business logic.
buildTestDriver() → Driver
Creates and returns the Driver with the hard coded test values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateDriverProvidedProperties(Driver driver) → void
This method only get's overridden when the driver has provided properties. It calls a method in the driver, added by the _$DriverProvidedProperties interface, to respond to properties changed during a state update. Therefore it is called in the scope of the build method, shortly before the widget gets actually built. (The driver does not get rebuilt for state updates!)

Operators

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