Categories

Tools

SharedPreferences in Flutter 

SharedPreferences is use for stores data key-value pair . SharedPreferences in flutter uses NSUserDefaultson iOS and SharedPreferences on Android, providing a persistent store for simple data. Suppose you want to save a small value that you want to refer to later in application. We do not use SQLite…

Animation

Hero Animations 

A Hero Animation in one sentence is simply an element of one screen “flying” to the next when the app goes to the next page. Use the Hero widget to animate a widget from one screen to the next. This recipe uses the following steps: Create two…

Examples

FingerPrint Detection 

One method of protecting sensitive information or premium content within your app is to request biometric authentication, such as using face recognition or fingerprint recognition. This guide explains how to support biometric login flows in your app. Add the permission of fingerprint in your androidmanifest.xml file. So,…

Examples

Quiz App 

First, create the basic UI of the screen how we want to make it look. You can Download Source Code via Github. QuizApp is an Flutter based application, and enables the user to undertake a series of questions on General Knowledge. The app is user…

Layout

Stack 

A widget that positions its children relative to the edges of its box. This class is useful if you want to overlap several children in a simple way, for example having some text and an image, overlaid with a gradient and a button attached to…

Layout

Wrap 

A widget that displays its children in multiple horizontal or vertical runs. A Wrap lays out each child and attempts to place the child adjacent to the previous child in the main axis, given by direction, leaving spacing space in between. If there is not enough space to fit the…

Layout

Align 

A widget that aligns its child within itself and optionally sizes itself based on the child’s size. For example, to align a box at the bottom right, you would pass this box a tight constraint that is bigger than the child’s natural size, with an…

Layout

SizedBox 

A box with a specified size. If given a child, this widget forces its child to have a specific width and/or height (assuming values are permitted by this widget’s parent). If either the width or height is null, this widget will size itself to match…