Skip to content

ae1dev/adaptive_sidebar

Repository files navigation

Adaptive Sidebar

Image

Sleak sidebar for responsive Flutter apps with automatic size change.

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
    },
    child: child,
);

Who's using it?

About

Sleak sidebar for desktop/tablet Flutter apps with automatic size change.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published