How to achieve this kind of navigation in flutter? - flutter

I want you guys' insight on how this kind of navigation can be achieved in Flutter. How can we put navigation bar on the left side of the screen? How this can be done in a cleanest way?
Source: https://dribbble.com/shots/6833189-Tablet-Banking-App
I tried using out of box widgets in flutter. But, nothing seems to match the above navigation logic.
Edit: The navigation bar should stay constant.

So if you want your right-side content to change, based on what you click in the left pane. Check out this video https://youtu.be/eikOZzfc0l4 by the official Flutter channel. I don't remember the details for myself. 😅
Edited:
I would use a stack. At the top of the stack, you can have the navigation bar. At the bottom of the stack is the actual app UI. Upon clicking one of the nav items, the UI at the bottom of the stack changes.

Related

BottomNavigatorBar vs Tabbar on Flutter

I know how can I use tabbar or bottomNavigatorBar. I can create bottom bar with both of them but my question is which one is the best usage to create bottom bar? I mean, which one should I use to create bottom bar?
It will be design based, how you prefer. I prefer using BottomNavigatorBar for <=5 destination. Else, use with Tabbar sometimes.
Let's check the Google material about bottom-navigation
Bottom navigation bars display three to five destinations at the bottom of a screen. Each destination is represented by an icon and an optional text label. When a bottom navigation icon is tapped, the user is taken to the top-level navigation destination associated with that icon.

How to make an expanding navigation bar

I am trying to create an expanding navigation bar. You can see the sketch I've made below.
I just can't find any way to build a custom navigation bar like that.
Does anyone know how to build it + animate a transition? I want it to slide up and down after the arrow in the middle got pressed.
I think what your looking for is a DraggableScrollableSheet. Here is the documentation to it: https://api.flutter.dev/flutter/widgets/DraggableScrollableSheet-class.html

Is there a way to implement four tabbed uitableviews that all have the same uinavigationbar

I am working on a mobile version for my company's web app. The structure of this application requires uitableviews with a tab bar on the bottom and a navigation bar up top to return to the previous view. As you drill down in the application the tab bar items change at each level allowing selection of different views pertaining to that specific level in the app. I need a way to implement this with a navigation bar on top that navigates back to the previous screen on every tab in said tab bar when a back button is clicked on any of the tabs.
for example: let's say i start out with an items tab and a simple about tab. When i click items it drills down to a new view called subitems and the tabs for this view are subitems, favorites, details, and notes. I want the navigation bar to go back to the previous screen when i click the back button on any one of these four tabs.
Is this at all possible? I can't seem to find anything related to this type of structuring within an app. any help/examples would be greatly appreciated.
I know that a negative answer always sounds bad, but I tried to do the same a few months ago and I could not find a way of doing it using the standard UITabBarController/UITabBar. Take also a look at this question/answer.
The good news is that it is not that difficult to implement from scratch a tab bar controller that can be pushed on a navigation stack. There are also several examples around, one is BCTabBarController. GtabBar is another example.
I actually found a way to do it you just have to implement the navigation bar's leftbarbuttonitem instead of the traditional back button. Then I just created a method that is invoked when the back button is pushed this updates the navigation stacks of all four views within the tab bar and sets the tab bar items accordingly to match with the previous views we are navigating back to. . . so long story short...it is possible.

iOS: How to properly use Navigation Controller without any visible user interface

I have an application that seems best suited for a navigation controller. There are a few places where navigation splits off and is not completely hierarchical but I think I can remedy that just using a modal view at those points.
I want to know if this is the best way to navigate through multiple views or if there is a better way. I want the user to be able to progress through several steps but be able to go back a step or even return to the beginning at certain points.
Additionally, I want to be able to do this using custom buttons. I want to use the entire screen without any navigation bars, etc. I figured I could push and pop the stack with my own custom buttons but I want to know how to make sure the screen is totally usable by me.
As far as I know, Navigation controller is the best way to navigate among views, you can go back and forth between views using navigation controller easily, even you can present navigation controller as modal view. You can specify your own custom navigation items in navigation bar. And if you do not want navigation bar, you can hide navigation bar. pushing and popping is the best way to implement navigation among views.
#gonzobrains
I have been in that situation!
Here's what I'd do:
"Hide the navigation bar" using the setHidden property. At places where you want the navigation bar to be seen, I suggest you use a UIToolbar with custom buttons. (its almost impossible to differentiate)
to go back one step you can popViewController
to go all the way back you can use popToRootViewController (like the top right corner button in the IMDB app)
There is no reason why you should not be able to use a navigation controller without using the navigation bar.
Hope this helps!
Keep the nav controller, but you can hide the nav bar easily enough. It could be a viable solution, but make sure your implementation is solid and clear; otherwise you may be rejected. A possible alternative would be to have pages side by side, as in the weather app…but it's your decision as to which paradigm is best.

Navigation Bar at Bottom

Can we have NavigationBar at the bottom of the screen.As i have to display a image at the top of the screen.
You can put one anywhere but the system will not manage it for you.
If you want to put a nav bar at the bottom of the screen though, the chances are great you really want to have a toolbar, or a tab bar... navigation controllers are just not good on the bottom and users will think it's really wierd.
Can't you just make the nav bar transparent and have the image go behind it?
Try using UINavigationBar's initWithFrame: to position it how you would like. You could also put it inside a view which is located below your image.
It might be worth using a toolbar instead. Users are used to seeing the navigation bar at the top. The interface guidelines might "require" this too which could lead to fun when you submit your application to Apple.