NeoAppBar constructor

const NeoAppBar({
  1. Key? key,
  2. required String title,
  3. required String subtitle,
  4. required bool isDark,
  5. required TextEditingController searchController,
  6. required ValueChanged<String> onSearchChanged,
  7. required ValueChanged<bool> onThemeToggle,
  8. bool isMenuOpen = false,
  9. String searchHint = 'Buscar componentes...',
  10. VoidCallback? onMenuPressed,
  11. 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,
});