Google is committed to advancing racial equity for Black communities. See how.

NoopViewProvider class

A concrete implementation of the ViewProvider class. This class is intended to be used to create a module that explicitly does not provide a view. This is typically only the case in tests.

void main() {
  ModuleWithViewProviderImpl()
   ..registerViewProvider(NoopViewProvider());
}

Inheritance

Constructors

NoopViewProvider ()

Properties

hashCodeint

The hash code for this object. ...
read-only, inherited

runtimeTypeType

A representation of the runtime type of the object.
read-only, inherited

Methods

createView(EventPair token, InterfaceRequest incomingServices, InterfaceHandle outgoingServices) Future<void>
createViewWithViewRef(EventPair token, dynamic viewRefControl, dynamic viewRef) Future<void>
noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

toString() String

Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited