key property
Use GlobalKey to find widget.
Declare it as global constant or Manage it inside other state-management(provider, riverpod...)
Implementation
final GlobalKey key;
Use GlobalKey to find widget.
Declare it as global constant or Manage it inside other state-management(provider, riverpod...)
final GlobalKey key;