Comments (7)
I tested out the work around and it works fine. Thanks man!
I'll check for updating the code when the functionality is ready 👍
from custom-navigator.
Hello @mxlandry!
In order for the AppBar to appear you need to set a Scaffold and an AppBar for every page in your navigation.
Refer to this custom_scaffold_example for more information.
Hope this helped!
I'll close the issue for now, reopen anytime i'll be here to help
Also, please add any suggestions for new features for this library, i'd be more than happy to add them.
from custom-navigator.
The AppBar appear, but the backButton is not there. If a set my widget for building a Scaffold with an AppBar I have two AppBar and the second one contains the back button.
from custom-navigator.
Oh ok, now i got it.
I'll update the CustomScaffold so it can do exactly what you want to achieve.
Is it ok for to use the CustomScaffold? It's a widget exactly like the normal scaffold but with added functionalities.
I'll push the update in 4 hours from now.
Let me know if you're ok with it.
Thank you!
from custom-navigator.
I'm using the PlatformScaffold (https://pub.dev/packages/flutter_platform_widgets) for styling the Scaffold differently on Android and iOS.
If it's possible, I would prefer to not use CustomScaffold but if it's not I will consider testing the CustomScaffold.
Thanks!
from custom-navigator.
I’ll be sorry to tell you that there’s no direct solution for your problem at the moment..
That being said there’s a work around.
You need to remove the AppBar from your main Scaffold and put it in every page down the widget tree instead.
This way you’ll force the AppBar to update when navigating.
Also you can refer to custom_scaffold_example to see a similar example.
I’ll make sure to add the functionality you required in the coming days. 🙏🏼
from custom-navigator.
Glad it worked for you!
I’ll close this for now.
Best wishes! 🙏🏼
from custom-navigator.
Related Issues (20)
- Use a different navigator widget
- How to keep the state of the detail page when we change another tab? HOT 4
- CustomScaffold : How to use Navigator.of(context).pushNamed() ? HOT 3
- Bottom Bar show on all pages HOT 1
- How to navigate for entering 3 times or more deeper using bottom navigation bar where bottom navigation bar will be not hide HOT 4
- How to preserve page state when a new page is opened HOT 4
- How not to use your navigator after i already wrap it?
- Issue regarding popping pages HOT 4
- Can't selected item color
- BottomNavigationBar currentIndex not work in CustomScaffold HOT 3
- Pop CustomScaffold to naviagate to another route
- way to make routes be above the bottom bar manually
- custom_navigator
- Bottom navigator colors not working
- The non-abstract class '_CustomNavigatorState' is missing implementations HOT 13
- Same GlobalKey on all pages
- Can we manage Navigation stack using for all tabs using the Custom-scaffold?
- app is close on pressing android Back button
- Migrate to null safety HOT 4
- Error while Creating build
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 custom-navigator.