Top "Flutter-widget" questions

How to add a border to a widget in Flutter?

I'm using Flutter and I'd like to add a border to a widget (in this case, a Text widget). I …

flutter dart flutter-widget
Adding a splash screen to Flutter apps

How would you approach adding a splash screen to Flutter apps? It should load and display before any other content. …

flutter dart splash-screen flutter-widget
How to add a ListView to a Column in Flutter?

I'm trying to construct a simple login page for my Flutter app. I've successfully built the TextFields and log in/…

flutter listview dart flutter-layout flutter-widget
Looking up a deactivated widget's ancestor is unsafe

I am new in Flutter and I am trying receive data with a Dialog. When a click in textField the …

flutter dart dialog flutter-widget
How to get a height of a Widget?

I don't understand how LayoutBuilder is used to get the height of a Widget. I need to display the list …

flutter dart layout widget flutter-widget
Flutter/Dart - Open a view after a delay

I'm trying to find a solution to open a view after a delay in a loading view. I have a …

flutter dart flutter-layout delay flutter-widget
Flutter: Expanded vs Flexible

I've used both Expanded and Flexible widgets and they seem to work same. What is the difference between Expanded and …

flutter dart flutter-layout flutter-widget
incorrect use of parent data widget. expanded widgets must be placed inside flex widgets

I am getting the following error: i.e.., Another exception was thrown: Incorrect use of ParentDataWidget. showing error on the …

flutter dart widget flutter-layout flutter-widget
Removing the drop shadow from a Scaffold AppBar in Flutter?

Is there a way to remove the drop shadow under the app bar (AppBar class) when using a Scaffold widget …

flutter dart shadow appbar flutter-widget
How to specify ListTile height in Flutter

In this code, I am trying to make a list of buttons or tiles "as buttons do not work well …

flutter listview flutter-layout height flutter-widget