Flutter: Adding a Header to a ListView
At this time, the ListView widget in Flutter doesn’t come with an out-of-the-box option that lets us create a header section. However, we can make a beautiful header within a few lines of code. Strategies There…
Flutter: How to Read and Write Text Files
This article is about reading and writing text files in Flutter. Introduction Text files (which have .txt extension) are widely used to store information persistently, from numerical data to long text. Today, we will walk through…
Flutter: How to get Width and Height of a Widget
In Flutter, you can easily get the size of a specific widget after it’s rendered. What you need to do is to give it a key, then use that key to access currentContext.size property, like this:…
Displaying Math symbols in Flutter
Applications of math, physics, chemistry, and other sciences are increasingly used by the popularity of mobile devices around the world. In this article, we will walk through a couple of different approaches to displaying mathematical symbols,…
Flutter: Check Internet Connection without any plugins
If your application needs an internet connection in order to work correctly then it is necessary to check the internet connection. For example, when there is a connection problem, a message will be displayed to alert…
Flutter: Load and display content from CSV files
CSV stands for Comma-Separated Values, is a file type widely used to store tabular data (numbers and text) in the plain text where each line will have the same number of fields. In this article, we…
Flutter: Set an image Background for the entire screen
Using an image as a full-screen background will help your app convey more messages to the user, such as showing that your app is about education, entertainment, finances, etc. In this article, we’ll go over 2…
3 Ways to create Random Colors in Flutter
There may be times you want to create random colors to make your Flutter application more vivid, and colorful and give users a new experience, such as you want to create a ListView or GridView with…
Flutter AnimatedList – Tutorial and Examples
AnimatedList is a built-in widget in Flutter used to implement a list view that animates its items when they are inserted or removed. This helps the user feel less sudden and more pleasant about the change…
Write a simple BMI Calculator with Flutter (Updated)
In this article, we’ll build a simple BMI (body mass index) calculator with Flutter from scratch. This tutorial aims at people who are new to Flutter, so I’ll make it as simple as possible with the…
Flutter: Make a “Scroll Back To Top” button
The Back-To-Top button is helpful when the screen of your application is long and contains a lot of content. It allows the user to quickly scroll back to the top of the page. In the beginning,…
Flutter Transform examples – Making fancy effects
Learning by example is one of the most effective learning methods, especially in web and mobile development. In this article, we will walk through a few complete examples of using Transform, a widget that can transform…