v0.17.2sidebarx
flutter 다중 플랫폼 네비게이션 사이드바 / 사이드 네비게이션바 / 드로어 위젯
Flutter 다중 플랫폼 탐색 사이드바 / 사이드 탐색 바 / 드로어 위젯
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.1아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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
Follow these steps to use this package
dependencies:
sidebarx: ^0.17.2
import 'package:sidebarx/sidebarx.dart';
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
],
),
)
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')),
)
The project is under development and ready for your pull-requests and issues 👍
Thank you for support ❤️
Thanks to all contributors of this package
https://contrib.rocks/image?repo=Frezyx/sidebarx