PinterestNavBar constructor

const PinterestNavBar({
  1. Key? key,
  2. Color backgroundColor = const Color(0xFFFFFFFF),
  3. Color darkThemeBackgroundColor = const Color(0xFF292929),
  4. Color selectedItemColor = const Color(0xFF111111),
  5. Color darkThemeselectedItemColor = const Color(0xFFEFEFEF),
  6. Color unselectedItemColor = const Color(0xFF767676),
  7. Color darkThemeUnselectedItemColor = const Color(0xFF767676),
  8. required List<IconData> items,
  9. required int currentIndex,
  10. required void onTap(
    1. int
    ),
  11. Curve curve = Curves.easeInOut,
})

Implementation

const PinterestNavBar({
  Key? key,
  this.backgroundColor = const Color(0xFFFFFFFF),
  this.darkThemeBackgroundColor = const Color(0xFF292929),
  this.selectedItemColor = const Color(0xFF111111),
  this.darkThemeselectedItemColor = const Color(0xFFEFEFEF),
  this.unselectedItemColor = const Color(0xFF767676),
  this.darkThemeUnselectedItemColor = const Color(0xFF767676),
  required this.items,
  required this.currentIndex,
  required this.onTap,
  this.curve = Curves.easeInOut,
}) : super(key: key);