onScaffoldMessengerKey method

GlobalKey<ScaffoldMessengerState> onScaffoldMessengerKey()

Returns the App's ScaffoldMessenger Key.

Implementation

GlobalKey<ScaffoldMessengerState> onScaffoldMessengerKey() =>
    _scaffoldMessengerKey ??= GlobalKey<ScaffoldMessengerState>();