adaptive_sidebar 0.9.0
adaptive_sidebar: ^0.9.0 copied to clipboard
Sleak sidebar for responsive Flutter apps with automatic size change.
Adaptive Sidebar Scaffold #
A modern, responsive sidebar navigation component for Flutter applications that automatically adapts its size based on screen dimensions and device type. Perfect for creating consistent navigation experiences across desktop, tablet, and mobile interfaces.
Usage #
AdaptiveSidebar(
icon: Icon(Symbols.home_rounded),
title: "Example",
destinations: [
SidebarDestination(
icon: Symbols.home_rounded,
label: AppLocalizations.of(context)!.home,
),
SidebarDestination(
icon: Symbols.workspaces_rounded,
label: AppLocalizations.of(context)!.social,
),
SidebarDestination(
icon: Symbols.settings_rounded,
label: AppLocalizations.of(context)!.settings,
),
],
onPageChange: (index) {
//Do something
},
body: child,
);