init method

Initializes the state of the notifier. This method is called only once and as soon as the notifier is accessed the first time.

Implementation

@override
SettingsState init() {
  return SettingsState(
    themeMode: ThemeMode.system,
  );
}