instance property Null safety

SemanticsBinding instance

The current SemanticsBinding, if one has been created.

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 SemanticsBinding get instance => BindingBase.checkInstance(_instance);