Flutter Multiplatform Navigation Sidebar
Show some love to support the project!
Mobile | Desktop | Web
![]() |
![]() |
![]() |
Getting Started
Follow these steps to use this package:
Add Dependency
Add the following to your project’s pubspec.yaml file:
dependencies:
sidebarx: ^0.17.1
Add Import Package
Then import the package in your Dart file:
import 'package:sidebarx/sidebarx.dart';
Easy to Use
The package is designed with maximum adaptability 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 your support!
Troubleshooting Tips
- Ensure that your Flutter environment is properly set up and updated to the latest version.
- If you encounter issues with screen layouts, check your widget tree to ensure proper structure.
- Consult the official Flutter documentation for further guidance on widget implementation.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.




