TopBar constructor
const
TopBar({
- Key? key,
- VoidCallback? onSettingsPressed,
- VoidCallback? onHelpPressed,
- VoidCallback? onFactoryResetDefaultTheme,
- List<
SavedTheme> savedThemes = const [], - String currentThemeName = 'Default',
- ValueChanged<
SavedTheme> ? onThemeSelected, - bool isLoadingThemes = false,
- bool hasUnsavedChanges = false,
- VoidCallback? onSaveChanges,
Implementation
const TopBar({
super.key,
this.onSettingsPressed,
this.onHelpPressed,
this.onFactoryResetDefaultTheme,
this.savedThemes = const [],
this.currentThemeName = 'Default',
this.onThemeSelected,
this.isLoadingThemes = false,
this.hasUnsavedChanges = false,
this.onSaveChanges,
});