localKey property

ValueKey<String> localKey

Key for wrapping Widget. This key is combination of some setup properties, so Widget Tree can decide if is time to rebuild.

Implementation

ValueKey<String> get localKey => ValueKey(
    '${state.runtimeType}-${ThemeConfig.preferredTheme}-${locale ?? ''}-$session');