Top "Flutter" questions

Flutter is an open-source UI software development kit created by Google.

error: 'Flutter/Flutter.h' file not found when flutter run on iOS

I don't know why but I can't build or run the App in my new Macbook, I run the same …

ios flutter cocoapods flutter-ios flutter-ios-build
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
How to change the appBar back button color

I cannot figure out how to change the appBar's automatic back button to a different color. it's under a scaffold …

flutter
Vertical viewport was given unbounded height

This is my code: @override Widget build(BuildContext context) { return new Material( color: Colors.deepPurpleAccent, child: new Column( mainAxisAlignment: MainAxisAlignment.…

flutter flutter-layout
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
Scaffold.of() called with a context that does not contain a Scaffold

As you can see, my button is inside the Scaffold's body. But I get this exception: Scaffold.of() called with …

flutter scaffold snackbar
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