SidebarTarget constructor

const SidebarTarget({
  1. Key? key,
  2. required String route,
  3. required IconData icon,
  4. VoidCallback? onTap,
  5. String? activeRoute,
})

A target in the Sidebar that navigates to a specific route.

Implementation

const SidebarTarget({super.key, required this.route, required this.icon, this.onTap, this.activeRoute});