Bernard Retuta Jr.

How to Create Circle Icon Button In Flutter, 2 best ways

There are many ways to create a circle icon Button in Flutter, but in this tutorial, we’ll cover only the following top 2 approaches: Using the FloatingActionButton Using the ElevatedButton 1. Using the FloatingActionButton (Recommended) The FloatingActionButton is a dedicated widget to create the circular icon button. Creating Basic Button Steps to create a basic circle icon …

How to Create Circle Icon Button In Flutter, 2 best ways Read More »

How to Add ListView inside Column in Flutter, 3 different ways

To add the ListView inside Column in Flutter, there are mainly three ways: Using Expanded (Recommended) Using ShrinkWrap Using SizedBox 1. Using Expanded (Recommended) You can wrap your ListView widget inside the Expanded widget and this will allow the ListView to take all the available as long as the Column allows. Note: The main point here is to …

How to Add ListView inside Column in Flutter, 3 different ways Read More »

How To Make Any Widget Clickable In Flutter

First Solution: Using a GestureDetector Widget A widget that recognizes gestures. Attempts to recognize gestures that match non-zero callbacks. If this widget has children, they will be moved to that child for the behavior of that size. If you don’t have children, you will grow up to be a parent instead. By default, GestureDetectors with …

How To Make Any Widget Clickable In Flutter Read More »

How to Create A Button with Icon and Text in Flutter, The Top 3 Ways

Buttons are an essential component of any app. This allows the user to perform an action when tapped. For example, you can go to another page, load data, or send information. With Flutter, you can immediately support your buttons. However, you may need to add an icon with text to the button to suit your …

How to Create A Button with Icon and Text in Flutter, The Top 3 Ways Read More »

The easiest way to wrap Widgets with scrollView in Flutter

There are different ways to create a scrolling widget in a Flutter application: CustomScrollView A ScrollView that creates custom scroll effects using slivers. DraggableScrollableSheet A container for a Scrollable that responds to drag gestures by resizing the scrollable until a limit is reached, and then scrolling. GridView A grid list consists of a repeated pattern …

The easiest way to wrap Widgets with scrollView in Flutter Read More »