import 'package:flutter/material.dart'; import 'FloatingNavState.dart'; typedef NavEntry = ({IconData icon, String label, VoidCallback onTap}); /// The floating tab bar, after the reference: a row of frosted circles that /// just overlap, icons only. The open tab is a solid white disc that pops /// forward over its neighbours; a pressed circle dips. It switches tabs in /// place — nothing here pushes a page. class FloatingNav extends StatefulWidget { final List entries; final int selected; const FloatingNav({ super.key, required this.entries, required this.selected, }); @override State createState() => FloatingNavState(); }