Category: Android app develoment
-
How to create a navigation drawer with icons? -Flutter
Hey, what’s up, guys. Do you want to create a drawer with icons in flutter? In this post, I will tell you two methods to associate an icon with each drawer item. So, without further ado, let’s start our main topic. The first method of adding icons to the drawer is very simple. You just…
-
How to create snackbar in flutter?
One of the ways to enhance user experience is to inform the user with a brief message when certain actions take place. SnackBar is the one that we can use to greatly enhance the user experience. One of its features that I like the most is adding an action with it. It really helps when…
-
What is RichText in flutter?
In this post, we will know about the RichText widget in flutter. We will know what RichText is and how you can use RichText in your flutter project. Let’s begin. What is RichText in flutter? RichText is a widget in flutter that is used to display text that uses multiple different styles. Let me ask…
-
What is RotatedBox in flutter?
Hey, what’s up, guys. In this post, we are going to learn about RotatedBox in flutter. We will see what it is and how you can use it in your flutter project. What is RotatedBox in flutter? RotatedBox is a widget in flutter that rotates its child in turns of 90 degrees. We define how…
-
How to create a Drawer in flutter?
Hey, what’s up, guys. In this post, we will see how we can use a Drawer in Flutter that helps us in navigation. Let’s see the steps and code to add a drawer to our app. To create a drawer, follow these steps. First, we will create a Scaffold. Why? Because it supports some material…
-
ClipRRect in Flutter
Hey, What’s up, guys. In this post, we are going to know about ClipRRect in flutter. We will see what ClipRRect in flutter is and how to use it. So let’s begin. What is ClipRRect in flutter? ClipRRect is a widget in flutter that we can use to give its child a rounded rectangle shape.…
-
How to create horizontal ListView in flutter?
Hey, what’s up coders. You know how to create vertical ListView in flutter. And now you want to learn how to create a horizontal ListView in flutter. In this post, we will learn about creating a horizontal ListView in flutter. And It’s really too easy. You just have to pass one parameter to the ListView.…
-
What is the difference between ListView() and ListView.builder() in flutter?
FLutter provides four ways of creating a ListView- ListView ListView.builder ListView.custom ListView.separated Here, in this post, we will know about the difference between creating ListView using the default constructor and creating ListView using the ListView.builder(). First, let’s see ListView using the default constructor. When we create ListView using the default constructor then we pass List<Widget>…
-
setState() method in flutter- When to use setState()?
Hey, what’s up coders. In this post, we are going to know about the setState() method in flutter. We will know what the setState() method does and when to use it. So let’s begin. What does setState method do in flutter? First let’s see the official definition – Calling setState notifies the framework that the internal state…
-
What is a snackbar in android? How to create a snackbar?
Hey, what’s up, guys. In this post, we will talk about Snackbar in android. Snackbar provides a way of displaying short messages to the user. Now you might think, we could do the same with toast also. But a snackbar is more than the toast. So, read this post till the end and you will…
