custom_bottom_navigation_bar.dart 1000 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // ignore_for_file: prefer_const_constructors
  2. import 'package:flutter/material.dart';
  3. import 'package:sis_flutter/themes/themes.dart';
  4. class CustomBottomNavigationBar extends StatelessWidget {
  5. const CustomBottomNavigationBar({super.key});
  6. @override
  7. Widget build(BuildContext context) {
  8. return BottomNavigationBar(
  9. backgroundColor: AppTheme.divider,
  10. selectedItemColor: AppTheme.primary,
  11. unselectedItemColor: Colors.white,
  12. items: const [
  13. BottomNavigationBarItem(
  14. icon: Icon(
  15. Icons.home,
  16. color: Colors.white,
  17. ),
  18. label: 'Inicio',
  19. ),
  20. BottomNavigationBarItem(
  21. icon: Icon(
  22. Icons.calendar_today,
  23. color: Colors.white,
  24. ),
  25. label: 'Calendario',
  26. ),
  27. BottomNavigationBarItem(
  28. icon: Icon(
  29. Icons.person,
  30. color: Colors.white,
  31. ),
  32. label: "Perfil",
  33. ),
  34. ],
  35. );
  36. }
  37. }