instance property Null safety

TestWidgetsFlutterBinding instance

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);