showDebugOnRefreshFlag top-level property
final
Provider for whether to show debug messages during a periodic refresh.
This value is backed by a shared preference and will persist after the
app closes. Defaults to false.
Implementation
final showDebugOnRefreshFlag =
StateNotifierProvider<PreferenceNotifier<bool>, bool>(
(ref) => PreferenceNotifier.watchBool(
ref,
'showDebugOnRefresh',
defaultValue: false,
),
);