showConnectionNotificationsPrefProvider top-level property
final
Provides the user's preference for showing connection notifications
Implementation
final showConnectionNotificationsPrefProvider =
StateNotifierProvider<PreferenceNotifier<bool>, bool>(
(ref) => PreferenceNotifier.watchBool(
ref,
'show_connection_notifications',
defaultValue: true,
),
);