2021-02-24
1244
#flutter
Pinkesh Darji
34862
Feb 24, 2021 â‹… 4 min read

Flutter TabBar: A complete tutorial with examples

Pinkesh Darji I love to solve problems using technology that improves users' lives on a major scale. Over the last seven-plus years, I've been developing and leading various mobile apps in different areas.

Recent posts:

Rxjs Adoption Guide: Overview, Examples, And Alternatives

RxJS adoption guide: Overview, examples, and alternatives

Get to know RxJS features, benefits, and more to help you understand what it is, how it works, and why you should use it.

Emmanuel Odioko
Jul 26, 2024 â‹… 13 min read
Decoupling Monoliths Into Microservices With Feature Flags

Decoupling monoliths into microservices with feature flags

Explore how to effectively break down a monolithic application into microservices using feature flags and Flagsmith.

Kayode Adeniyi
Jul 25, 2024 â‹… 10 min read
Lots of multi-colored blue and purplish rectangles.

Animating dialog and popover elements with CSS @starting-style

Native dialog and popover elements have their own well-defined roles in modern-day frontend web development. Dialog elements are known to […]

Rahul Chhodde
Jul 24, 2024 â‹… 10 min read
Using Llama Index To Add Personal Data To Large Language Models

Using LlamaIndex to add personal data to LLMs

LlamaIndex provides tools for ingesting, processing, and implementing complex query workflows that combine data access with LLM prompting.

Ukeje Goodness
Jul 23, 2024 â‹… 5 min read
View all posts

9 Replies to "Flutter TabBar: A complete tutorial with examples"

  1. In this section
    “” Preserving the state of tabs “”
    you wrote :
    ” By default, tabs do not preserve the state ”
    But without using ‘AutomaticKeepAliveClientMixin’, by changing the tab, the previous state remains the same
    i use default_flutter_app ( counter app with FAB ) and Changing the tab does not return the number to 0
    Please explain to me is this normal? Has Flutter changed anything?

  2. How to get the focused tab more to left aligned?
    The default tabbar’s focused tab is always centered-aligned, but I wanted it to get more on left-aligned.

    References : DailyHunt, AirBnb

  3. Nicely written tutorial. Both the screenshots and code shown are compact, readable and to the point. Easy to understand. Thank you for doing this.

  4. Nice trick ! ‘ AutomaticKeepAliveClientMixin’,
    I was looking for this
    Works like a charm for me in an app with tabs and fl_charts
    Thank you very much

Leave a Reply