genAdditionInfoButtonEnabledFlag top-level property

StateNotifierProvider<PreferenceNotifier<bool>, bool> genAdditionInfoButtonEnabledFlag
final

Provider for whether to enable the info button for the serial number and controller pin in the Generator details page of the Generator addition workflow.

This value is backed by a shared preference and will persist after the app closes. Defaults to false.

Implementation

final genAdditionInfoButtonEnabledFlag =
    StateNotifierProvider<PreferenceNotifier<bool>, bool>(
  (ref) => PreferenceNotifier.watchBool(
    ref,
    'enableGenAdditionInfoButton',
    defaultValue: false,
  ),
);