ios_side_menu

Last updated:

0 purchases

ios_side_menu Image
ios_side_menu Images
Add to Cart

Description:

ios side menu

iOS Side Menu #

A Flutter plugin to use the pure dart code API.
Usage #

Add ios_side_menu as a dependency in your project.
You can directly use it inside your home page or wherever you want to show the side menu like below -
GlobalKey<IosSideMenuWidgetState> sideMenuState = GlobalKey();

IosSideMenuWidget(
key: sideMenuState,
sideMenuWidth: 270,
sideMenuWidget: Container(
decoration: BoxDecoration(
// To Add extra elevation effect in side menu container
boxShadow: [
BoxShadow(
color: Colors.green.withOpacity(0.5),
spreadRadius: 5,
blurRadius: 7,
offset: Offset(0, 3), // changes position of shadow
),
],
),
margin: EdgeInsets.zero,
child: Container(
decoration: const BoxDecoration(color: Colors.white),
height: double.maxFinite,
width: double.maxFinite,
),
),
mainMenuWidget: Scaffold(
appBar: AppBar(
title: Text('Side Menu'),
leading: IconButton(
onPressed: () {
if (sideMenuState.currentState!.isSideMenuVisible) {
sideMenuState.currentState!.hideSideMenu();
} else {
sideMenuState.currentState!.openSideMenu();
}
},
icon: const Icon(Icons.menu),
),
),
body: Container(
decoration: const BoxDecoration(
color: Colors.blue,
),
height: double.maxFinite,
width: double.maxFinite,
),
),
)
copied to clipboard
Issues and feedback #
All the feedbacks and PR's are welcome.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.