flutter

How to pass data between screens in Flutter

In this article we will talk about three methods by which data can be passed from one screen to another in flutter. 1. Using constructors This is a very well known technique that is used in other languages as well. What we do is we pass the needed data in the constructor when we instatiate the target class. Lets assume that we have a screen say ConstructorScreen. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 class ConstructorScreen extends StatelessWidget { String message; ConstructorScreen(String m){ this.

How to authenticate and login users in Flutter from a REST Api

Suggested laptop for programming Lenovo IdeaPad S145 AMD Ryzen 5 15.6" FHD Thin and Light Laptop (8GB/512GB SSD/Windows10/Office/Platinum Grey/1.85Kg) Buy on Amazon Introduction In this article we will discuss how to use a REST api backend to authenticate users from a Flutter app. We will build a very basic nodejs REST api backend. If you already have a backend then you can use that also.

How to Use Datepicker in Flutter

Its not too tough, really. We are going to create a very simple project to demonstrate the use of the datepicker, in particular the material datepicker. If you prefer the video version, you can watch it below. Suggested laptop for programming Lenovo IdeaPad S145 AMD Ryzen 5 15.6" FHD Thin and Light Laptop (8GB/512GB SSD/Windows10/Office/Platinum Grey/1.85Kg) Buy on Amazon Suggested readings

Creating an OTP Screen in Flutter

Nowadays, one time password (OTP) is used a lot as an authentication mechanism. Sometimes the OTP is sent using SMS and sometimes its sent through email. A screen for users to input the OTP has to be created. In this article we will talk about creating a simple screen in flutter to allow users to enter the OTP. Suggested laptop for programming Lenovo IdeaPad S145 AMD Ryzen 5 15.

Login Flow in Flutter

In this article, I will be showing a simple flutter app that will demonstrate a typical mobile login flow. This article is not an introductory tutorial on flutter or programming. I am assuming that the reader knows programming and has basic understanding of how flutter works. You can find more from flutter.io. Suggested laptop for programming Lenovo IdeaPad S145 AMD Ryzen 5 15.6" FHD Thin and Light Laptop (8GB/512GB SSD/Windows10/Office/Platinum Grey/1.