Top "Dart" questions

Dart is a class-based, statically(& strongly)-typed programming language for building web and mobile applications.

Disable a text edit field in flutter

I need to disable TextFormField occasionally. I couldn't find a flag in the widget, or the controller to simply make …

flutter dart textfield disable
Force Flutter navigator to reload state when popping

I have one StatefulWidget in Flutter with button, which navigates me to another StatefulWidget using Navigator.push(). On second widget …

dart flutter
Passing data to StatefulWidget and accessing it in it's state in Flutter

I have 2 screens in my Flutter app: list of records and screen for creating and editing records. If I pass …

dart flutter
How to set Custom height for Widget in GridView in Flutter?

Even after specifying the height for Container GridView, my code is producing square widgets. class MyHomePage extends StatefulWidget { MyHomePage({Key …

gridview dart height flutter
Passing Data to a Stateful Widget

I'm wondering what the recommended way of passing data to a stateful widget, while creating it, is. The two styles …

dart flutter
how to add custom color to flutter?

I want to change the color of AppBar and use a custom color for it, I tried many options but …

flutter dart colors flutter-layout
Flutter - FloatingActionButton in the center

Is it possible to make the FloatingActionButton in the centre instead of the right side? import 'package:flutter/material.dart'; …

dart flutter floating-action-button center-align
Global Variables in Dart

I try to create a Dart single page application. I have created a first custom element (custom-application) which contains the …

dart global-variables
Flutter Network Image does not fit in Circular Avatar

I am trying to retrieve bunch of images from an api. I want the images to be displayed in Circular …

image dart flutter flutter-layout
Flutter SVG rendering

I tried adding an image with a SVG source to my flutter application. new AssetImage("assets/images/candle.svg")) But …

dart flutter