FloatingNav constructor

FloatingNav({
  1. required String title,
  2. required Widget icon,
  3. required void onTap(),
})

Implementation

FloatingNav({
  required this.title,
  required this.icon,
  required this.onTap
}) : super(key: GlobalKey<FloatingNavState>());