NeoAppBar constructor
const
NeoAppBar({
- Key? key,
- required String title,
- required String subtitle,
- required bool isDark,
- required TextEditingController searchController,
- required ValueChanged<
String> onSearchChanged, - required ValueChanged<
bool> onThemeToggle, - bool isMenuOpen = false,
- String searchHint = 'Buscar componentes...',
- VoidCallback? onMenuPressed,
- VoidCallback? onSettingsPressed,
Implementation
const NeoAppBar({
super.key,
required this.title,
required this.subtitle,
required this.isDark,
required this.searchController,
required this.onSearchChanged,
required this.onThemeToggle,
this.isMenuOpen = false,
this.searchHint = 'Buscar componentes...',
this.onMenuPressed,
this.onSettingsPressed,
});