onScaffoldMessengerKey method

GlobalKey<ScaffoldMessengerState> onScaffoldMessengerKey()
inherited

Returns the App's ScaffoldMessenger Key.

Implementation

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