binding property

WidgetsBinding binding
final

The WidgetsBinding to listen to for application lifecycle events.

Typically, this is set to WidgetsBinding.instance, but may be substituted for testing or other specialized bindings.

Defaults to WidgetsBinding.instance.

Implementation

final WidgetsBinding binding;