Search packages, repositories and app categories

sidebarx cover
Package detailsv0.17.2

sidebarx

flutter multiplatform navigation sidebar / side navigationbar / drawer widget

AndroidiOSWebmacOSWindowsLinux
30-day downloads
20.5K
Likes
783
Pub points
160

Install package

flutter pub add sidebarx

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

SidebarX is a multiplatform Flutter package that provides a customizable navigation sidebar or side navigation bar, functioning as a drawer widget across Android, iOS, Web, macOS, Windows, and Linux. It enables intuitive navigation with smooth transitions and responsive design, ideal for apps requiring persistent navigation menus. The widget supports both compact and expanded states, making it suitable for various screen sizes and user preferences. Built with Flutter's cross-platform capabilities, SidebarX simplifies implementation of consistent navigation experiences across devices.

Use cases

  • Single-page applications with persistent navigation
  • Multi-screen dashboards with sidebar menus
  • Cross-platform apps needing unified navigation
  • Responsive layouts adapting to different screen sizes
  • Desktop and web apps requiring drawer-like navigation

Key features

  • Multiplatform support (Android, iOS, Web, macOS, Windows, Linux)
  • Customizable sidebar appearance and behavior
  • Supports both compact and expanded states
  • Smooth animations for state transitions
  • Responsive design for varying screen sizes

Suitable for

  • Developers building cross-platform apps
  • Designers seeking consistent navigation patterns
  • Teams prioritizing code reuse across platforms
  • Apps with complex navigation structures
  • Projects requiring modern, sleek sidebar interfaces

Considerations

  • May require additional styling for highly customized designs
  • Performance impact on very large navigation lists
  • Limited built-in theming options compared to full UI frameworks
  • Requires understanding of Flutter's layout system for advanced use
  • Not optimized for extremely high-frequency state changes

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

SidebarX 🔥

Flutter multiplatform navigation sidebar / side navigationbar / drawer widget

Show some ❤️ and star the repo to support the project!

Mobile Desktop Web
Image Image Image

Pub Star on Github License: MIT Repository views

Pub likes Pub popularity Pub points

Getting started

Follow these steps to use this package

Add dependency
dependencies:
  sidebarx: ^0.17.2
Add import package
import 'package:sidebarx/sidebarx.dart';

Easy to use

The package is designed with maximum adaptation to large screens.
Therefore, adding a widget to your screen will be very simple.

    Scaffold(
      body: Row(
        children: [
          SidebarX(
            controller: SidebarXController(selectedIndex: 0),
            items: const [
              SidebarXItem(icon: Icons.home, label: 'Home'),
              SidebarXItem(icon: Icons.search, label: 'Search'),
            ],
          ),
          // Your app screen body
        ],
      ),
    )

Use with small mobile screens

On small screens and mobile devices, you can use the ready-made Sidebar widget as your application's drawer for excellent UX.
Otherwise, leave the code unchanged and get the same experience

    Scaffold(
      drawer: SidebarX(
        controller: SidebarXController(selectedIndex: 0, extended: true),
        items: const [
          SidebarXItem(icon: Icons.home, label: 'Home'),
          SidebarXItem(icon: Icons.search, label: 'Search'),
        ],
      ),
      body: const Center(child: Text('Your app body')),
    )

Additional information

The project is under development and ready for your pull-requests and issues 👍
Thank you for support ❤️


Thanks to all contributors of this package



For help getting started with 😍 Flutter, view [online documentation](https://flutter.dev/docs), which offers tutorials, samples, guidance on mobile development, and a full API reference.

Categories

Source repository

Projects using this package