这是indexloc提供的服务,不要输入任何密码

adaptive_sidebar 0.9.0 copy "adaptive_sidebar: ^0.9.0" to clipboard
adaptive_sidebar: ^0.9.0 copied to clipboard

Sleak sidebar for responsive Flutter apps with automatic size change.

Adaptive Sidebar Scaffold #

Image

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,
);

Who's using it? #

5
likes
160
points
494
downloads

Publisher

verified publisherae1.dev

Weekly Downloads

Sleak sidebar for responsive Flutter apps with automatic size change.

Repository (GitHub)
View/report issues

Topics

#ui #navigation #layout #scaffold

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cupertino_icons, flutter, universal_io

More

Packages that depend on adaptive_sidebar