v2.0.0+2-null-safetyshrink_sidemenu
適用於 Flutter 的側邊菜單外掛程式,與 Liquid UI 相容。
293喜歡 3近 30 天下載150Pub 分數
AndroidiOSWebmacOSWindowsLinux
適用於 Flutter 的側邊菜單外掛程式,與 Flutter 的 Liquid UI 相容
以下為英文專案原文快照,最新內容請造訪 GitHub。
A Side Menu plugin for flutter and compatible with liquid ui
There are 8 configuration of Liquid shrink side menu
dependencies:
flutter:
sdk: flutter
liquid_ui: // for extra features
shrink_sidemenu: // Liquid Shrink Sidemenu is not dependent on liquid
final GlobalKey<SideMenuState> _sideMenuKey = GlobalKey<SideMenuState>();
SideMenu(
key: _sideMenuKey,
menu: buildMenu(),
type: SideMenuType.slideNRotate, // check above images
child: Scaffold(
appBar: AppBar(
leading: IconButton(
icon: Icon(Icons.menu),
onPressed: () {
final _state = _sideMenuKey.currentState;
if (_state.isOpened)
_state.closeSideMenu(); // close side menu
else
_state.openSideMenu();// open side menu
},
),
...
),
);
Liquid is an open source UI toolkit for developing cross platform apps in Flutter. Quickly create apps for Android, IOS, Web or Desktop with our powerful grid system, text processor, forms, extensive prebuilt components and dozens of utilities. Visit: Liquid For Flutter
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗