sidebar_widget 0.0.2
sidebar_widget: ^0.0.2 copied to clipboard
A customizable Flutter sidebar navigation package with support for nested navigation, animations, and hover effects.
Sidebar_Widget #
A Flutter package that provides a curated collection of custom widgets to simplify UI design and app development. With Sidebar_Widget, you can quickly create beautiful, reusable, and responsive user interfaces.
Flutter Custom Sidebar #
A highly customizable sidebar navigation package for Flutter applications with support for nested navigation, animations, and hover effects.
Features #
- 🎯 Customizable sidebar navigation
- 📱 Responsive design
- 🎨 Custom themes and colors
- ⚡ Smooth animations
- 🔗 Nested navigation support
- 💫 Hover effects
- 🎈 Overlay support for collapsed mode
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
sidebar_widget: ^1.0.0
Then run:
flutter pub get
Import the package in your Dart code:
import 'package:sidebar_widget/sidebar_widget.dart';
Example #
Here's a basic example of how to use the sidebar:
import 'package:flutter/material.dart';
import 'package:sidebar_widget/sidebar_widget.dart';
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: SideBar(
items: [
SideBarItem(
icon: Icons.home,
label: 'Home',
onTap: () => print('Home tapped'),
),
SideBarItem(
icon: Icons.settings,
label: 'Settings',
onTap: () => print('Settings tapped'),
),
],
),
),
);
}
}