instance property Null safety

TestWidgetsFlutterBinding instance
override

The current TestWidgetsFlutterBinding, if one has been created.

Provides access to the features exposed by this binding. The binding must be initialized before using this getter; this is typically done by calling testWidgets or TestWidgetsFlutterBinding.ensureInitialized.

Implementation

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