mk_drop_down_menu 1.0.3 mk_drop_down_menu: ^1.0.3 copied to clipboard
Tap a widget wrapped with MKDropDownMenu to show a drop down menu. The header and menu are completely customizable.
MKDropDownMenu #
Tap a widget wrapped with MKDropDownMenu to show a drop down menu. The header and menu are completely customizable.
Features #
- Completely Customizable: Header and Menu.
- Auto show below the Header Widget.
- Using Controller to build complex Menu.
Demo #
Usage #
Basic #
MKDropDownMenu(
headerBuilder: (bool menuIsShowing) {
},
menuBuilder: () {
},
)
Complex #
class CustomDropDownMenuController extends MKDropDownMenuController {
int curSelectedIndex = 0;
}
MKDropDownMenu<CustomDropDownMenuController>(
controller: CustomDropDownMenuController(),
headerBuilder: (bool menuIsShowing) {
},
menuBuilder: () {
},
),