What is a Spacer widget?
Spacer widget is used to create spacing between elements inside a Row and Column. Spacer class constructor const Spacer({Key key, …
Spacer widget is used to create spacing between elements inside a Row and Column. Spacer class constructor const Spacer({Key key, …
Sets the background color to red Sets the title to “Title“ Sets the elevation to 4.0 AppBar( backgroundColor: Colors.red, title: …
It sets a padding of 30 pixels all around the text field. It sets the decoration of the text field …
The biggest mistake a programmer can make is sitting in the same position for too long without moving around. This …
javascript snippet example Shuffle an Array const shuffleArray = (arr) => arr.sort(() => 0.5 – Math.random()); console.log(shuffleArray([1, 2, 3, 4])); …
Reversed a list with Listview Builder widget ListView.builder( reverse: true, itemCount: 20, padding: const EdgeInsets.only(top: 10, bottom: 10), itemBuilder: …
Pass your data when you Navigate screen : Navigator.of(context).push(MaterialPageRoute(builder: (context) => DetailScreen(data:”data”))); Access the data using constructor with widget keyword …
HARD WORK is good for health Work hard, play hard. Hours of coding might seem like torture but it’s actually …
API stands for Application Programming Interface. APIs are sets of requirements that govern how one application can talk to the …
Wrap some other widget in SafeArea, and it will add any padding required to keep your widget from being stopped …