How to use Segmented Button in Flutter?

Segmented Button

As a flutter developer, you might have stumbled upon a use case where you need to create a button that has multiple size options just like when you shop for a dress in an e-commerce store like S, M,L, etc. Also, a use case where there are options to sort a list in a particular … Read more

How to handle text selection in flutter?

TextSelectionFlutter

While developing an app you must have come with a usecase to select some portions of the text maybe to copy it or any other purpose.You might have wondered how to achieve this functionality if you are developing your application using a cross-platform framework like flutter. For this usecase, you must use the SelectableText widget … Read more

How to Use Expansion Tile in Flutter?

Expansion-Tile-Flutter

What is an Expansion Tile? Expansion Tile is a single-line ListTile with an expansion arrow icon that expands or collapses the tile to reveal or hide the children. It is typically used with ListView to create an “expand/collapse” list entry. That is when you want to add some extra details to your ListTile but are not … Read more

How to use AnimatedModalBarrier widget in flutter?

AnimatedModalBarrier-widget

AnimatedModalBarrier widget is a modal barrier that prevents user interaction with widgets behind it and can be configured with an animated color. This barrier, rendered behind each route, usually darkens the underlying page and prevents interaction with it. It functions similarly to the standard ModalBarrier but uses an animated color instead of a single static … Read more

How to use a FilledButton in flutter in 3 ways?

FilledButton Flutter

A FilledButton is a widget in Flutter that creates a button with a solid colored background, following Material Design guidelines. It’s typically used for prominent actions within your app. Constructor The constructor of the Filled Button gives an idea of its functionalities and is shown below: Parameters Filled Button offers two important parameters: 1. child: this represents the … Read more

How to dispose Flutter google map’s controller the right way?

Flutter google map's controller

When you app needs a google map integration the common package you must have been using must be google_maps_flutter. But many of you don’t know the right way to dispose the Flutter google map’s controller which can lead to crashing the mobile app. In this article, we will discuss the right way to dispose Flutter … Read more

Flutter 3.22: Whats new and improved?

flutter3.22

Flutter, a cross-platform app development framework that enables developers to create apps for Android, iOS, desktops, watches, and much more has seen a new release in the market. With each release, it is making developers want to flutter more. Flutter 3.22 comes with a lot of new features and bug fixes which makes the process … Read more

How to create hyperlink widget in flutter in 4 ways?

Hyperlink is a digital reference to data that the user can follow or be guided to by clicking or tapping. In simple words it’s a link that redirects you to a website through a url. It also can be such that by clicking a text which is underlined redirects you to a website. You can create a hyperlink widget in Flutter. We … Read more