ref property

WidgetRef ref
latefinal

An object that allows widgets to interact with providers.

Implementation

late final WidgetRef ref = context as WidgetRef;