instance property Null safety

GestureBinding instance

The singleton instance of this object.

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.

Implementation

static GestureBinding get instance => BindingBase.checkInstance(_instance);