systemAndGeneratorEnabledFlag top-level property

StateNotifierProvider<PreferenceNotifier<bool>, bool> systemAndGeneratorEnabledFlag
final

Provider for feature flag that enables the system And Generator in the device overview page

Implementation

final systemAndGeneratorEnabledFlag =
    StateNotifierProvider<PreferenceNotifier<bool>, bool>(
  (ref) => PreferenceNotifier.watchBool(
    ref,
    'systemAndGeneratorEnabled',
    defaultValue: ref.watch(flavorProvider).valueOrNull == 'DEV' ? true : false,
  ),
);