Creating tabs ,each with different content in flutter - flutter

I am making a blogging application using flutter. I want to create a tab bar with each tab showing different content. The number of tabs is determined by the number of different categories obtained through an API. Also the content of each tab is obtained through api.
It is silimilar to what we see in Google news application.
How to ceate such tab view? Also I want to make sure that apis for fetching the content of each tab are called only once.

You can use persistent tabbar solutions.
Cupertino tabbar provides a solution. Also you can use these packages
https://pub.dev/packages/persistent_bottom_nav_bar_v2
https://pub.dev/packages/persistent_bottom_nav_bar

Related

Multiple stacks with a persistent navigation bar?

I am trying to build an app using flutter that has a bottom navigation bar that remains in view through sub pages. Any help?
I'm very new to flutter and coding in general. I've been able to get a working material navigation bar that highlights the current page but when I push to another route on that page, the bar disappears. This convention would work for some areas of my app, but a few pages are 3 "layers" deep and I would like to keep the bar so the user maintains a sense of place.
From what I've researched, Cupertino's navigation bar allows for this but I would prefer accomplishing this with material bottom navigation and routing.
Here's a general look at what I'm trying to accomplish (minus login/splashpage/onboard/etc.)
Prototype showing the routing of my app
Thanks to anyone who can help!

How to create a tab bar that imitates the look an feel of a GtkNotebook?

Im developing a GTK+ 3 application that should be able to display multiple files in tabs. But a GtkNotebook widget is not suitable for this, as it implies a functionality where every single page is a separate container. In the case of my application I just need some sort of tab bar to connect to application's logic, which will then change the data displayed by the ever same set of widgets.
How can this be achieved without ugly workarounds?

Ionic 3 Adding Multiple Tab Navigations on a single tab or page

I am using Ionic v3 and need to implement a page where i have few tabs on bottom of the home screen to navigate to all other sections of the application. Implemented the same by starting ionic tabs template in starting using ionic start exapp tabs with multiple tabs available in the footer of the application, but now in one tab selected navigate to I need to implement two tabs on the top just after the toolbar. Applicable only for that page but am unable to do so. refereed to Ionic tabs documentation link but unable to resolve the issue.
For better explanation of the question we can consider the example below where I need the nested option to come only on the option tab click.

Facebook tab application - application controlled icons / tab translations?

Is it possible to control a tab icon?
over tab settings?
over an API?
Why I'm asking: I'm trying to implement top company information into tabs. It's just one application. I can manually change the icon if I create a new application for each tab.
Is it possible to create one application that controls loaded iframe URL and change the icon from tab settings?
I don't think this is possible. Have a look at the tabs section in the page document, you can only update three parameters: position, custom_name and is_non_connection_landing_tab

use two different uitab bar in application

I want to use two different uitabbar control in the application. first UITABbar control i add in the starting windows. and in this after the navigation i want to show the other tab bar with 5 tabs. can any one suggest how i do this ?
Or we need to add a different window for add this and need to show this windows on the click or other?
Please suggest.
Thanks
The Human Interface Guidelines specifically recommend against having multiple tab bars in your application:
If your application provides different
perspectives on the same set of data,
or different subtasks related to the
overall function of the application,
you might want to use a tab bar. A tab
bar appears at the bottom edge of the
screen.
A tab bar gives users the ability to switch among different modes or
views in an application, and users
should be able to access these modes
from everywhere in the application.
However, a tab bar should never be
used as a toolbar, which contains
buttons that act on elements in the
current mode (see “Toolbars” for more
information on toolbars).
If you need to have context-specific actions, use a toolbar instead.