@override Future<int> build() async { final prefs = await ref.watch(sharedPreferencesProvider.future); return prefs.getInt(_key) ?? 0; }