SidebarTarget constructor
- Key? key,
- required String route,
- required IconData icon,
- VoidCallback? onTap,
- 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});