GestureRecognizerFactoryWithHandlers<T extends GestureRecognizer> constructor Null safety

const GestureRecognizerFactoryWithHandlers<T extends GestureRecognizer>(
  1. GestureRecognizerFactoryConstructor<T> _constructor,
  2. GestureRecognizerFactoryInitializer<T> _initializer
)

Creates a gesture recognizer factory with the given callbacks.

The arguments must not be null.

Implementation

const GestureRecognizerFactoryWithHandlers(this._constructor, this._initializer)
  : assert(_constructor != null),
    assert(_initializer != null);