import 'package:hooks_riverpod/hooks_riverpod.dart'; class AlbumTitleNotifier extends StateNotifier { AlbumTitleNotifier() : super(""); setAlbumTitle(String title) { state = title; } clearAlbumTitle() { state = ""; } } final albumTitleProvider = StateNotifierProvider( (ref) => AlbumTitleNotifier(), );