How to create Horizontal ListView in Flutter

The ListView widget helps to display a list of items efficiently in Flutter. By default, it scrolls in the vertical direction. In this Flutter tutorial, let’s learn how to add horizontal ListView easily. The scrollDirection property of the ListView manages the direction. By making its value Axis.horizontal, you can scroll the ListView in the horizontal … Read more

How to set ListView Background Color in Flutter

ListView is one of the most used widgets in Flutter. It helps to list a finite or infinite set of items quickly. In this blog post, let’s check how to change the background color of ListView in Flutter. The ListView widget doesn’t have a property to change the background color. Hence, we may wrap ListView … Read more

How to change Slider Color in Flutter

The Slider helps users to choose a value from a range of values. It is a very useful component for use cases like adjusting volume, frequency, etc. In this blog post, let’s learn how to change the Slider color in Flutter. The Slider has some properties that allow us to customize its color. The activeColor … Read more

How to add Switch Button in Flutter

Switch buttons are buttons with only two input options- on or off. In this blog post, let’s learn how to add a switch button in Flutter. The Switch widget helps to create a Material design switch button in Flutter. We should use stateful widget to add Switch. The widget listens onChanged callback and rebuild switch … Read more

How to change Radio Button Color in Flutter

The Radio widget in Flutter is used to create radio buttons. In this blog post, let’s learn how to change the default color of the radio button in Flutter. The Radio widget has some useful properties to customize its color. If you just want to change the radio button color when it is active then … Read more

How to Align Radio Buttons in Row in Flutter

Radio buttons are one of the commonly used UI components to enter a single option from multiple choices. In this Flutter tutorial, let’s learn how to add radio buttons in a row. The Radio Button can be aligned either column-wise or row-wise. In order to align them in a row, you have to use the … Read more

How to add Radio Button with Text in Flutter

The radio button is a useful UI component to choose a single value from multiple options. In this blog post, let’s learn how to add a radio button with a label in Flutter. There are multiple ways to add a radio with text in Flutter. Here, we choose RadioListTile class to create a radio button … Read more

How to add Border to CheckboxListTile in Flutter

The CheckboxListTile is a useful widget to add checkbox with text and icon. In this blog post, let’s learn how to add the CheckboxListTile border in Flutter. The CheckboxListTile has many properties for customization. Using the shape property you can add a border, change the border color and even adjust the border radius. See the … Read more

How to set CheckboxListTile Background Color in Flutter

The CheckboxListTile widget in Flutter is a mix of the Checkbox and the ListTile widgets. In this blog post, let’s learn how to change CheckboxListTile background color in Flutter. The CheckboxList widget has some useful properties for customization. We use the tileColor property to change the background color of the tile. See the code snippet … Read more