showDeviceHostBannerFlag top-level property

StateNotifierProvider<PreferenceNotifier<bool>, bool> showDeviceHostBannerFlag
final

Provider for whether to show a device host banner that indicates the currently connected device host of a generator

Even when set to true, the banner will not be shown in non-prod environments

Implementation

final showDeviceHostBannerFlag =
    StateNotifierProvider<PreferenceNotifier<bool>, bool>(
  (ref) => PreferenceNotifier.watchBool(
    ref,
    'showDeviceHostBanner',
    defaultValue: true,
  ),
);