This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:shared_preferences/shared_preferences.dart'; | |
| /// {@template preferences_dao} | |
| /// Class that provides seamless access to the shared preferences. | |
| /// {@endtemplate} | |
| abstract base class PreferencesDao { | |
| final SharedPreferences _sharedPreferences; | |
| /// {@macro preferences_dao} | |
| const PreferencesDao({required SharedPreferences sharedPreferences}) : _sharedPreferences = sharedPreferences; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:google_fonts/google_fonts.dart'; | |
| /// {@template app_theme} | |
| /// AppTheme. | |
| /// {@endtemplate} | |
| final class AppTheme with DiagnosticableTreeMixin { | |
| /// {@macro app_theme} | |
| const AppTheme({required this.themeData}); |