Comments (3)
Hi @crezoKind,
In the widget zoom_scaffold.dart
there is a function called toggle
which is the one called when opening and closing the menu. MenuState
already has two states, closed
and open
and that function checks which one is in this moment to call either open
or close
functions.
If you want to close it yourself, I would say you could call the toggle
function or the close
one directly and both seem to be right for what you want.
You may need to change the way the menulist
is built tho, in this sample is fine to have a list built like that, but it is harder to get hold to the index of the element you pressed and less performing than using a listview builder.
Check out this example: https://stackoverflow.com/questions/47085070/how-to-get-the-index-key-of-the-selected-item-in-the-list-flutter
Hope this helps
:)
from flutter_delivery.
Hi Iam new to flutter Am doing a School project and am trying to add slide menu to my project with the animation but had so many issue to add my body screen code to it can u help with that
from flutter_delivery.
How to close the menu on tap in the ListTile. MenuController is not available in the Menuscreen. How to include MenuController in Menuscreen.
@pedromassango Please can u please split the ZoomScaffold class into separate.
I'm new to flutter, so it will be helpful for understanding.
from flutter_delivery.
Related Issues (10)
- How to implement onTap for Menu items?
- Experiencing lags in physical device. HOT 1
- i cant open drawer from outside drawer screens
- Change Screens on Menu Item Clicks HOT 1
- Wrap the whole thing into a Material App
- Doubt : How to load widgets in main screen whenever user taps on either menu item or botton nav items? HOT 1
- swipe left right guestures not working also not smooth HOT 2
- Doubt : Dynamic Theaming Whole App HOT 1
- can i add zoom_scaffold to right
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_delivery.