Top "Flutter-layout" questions

Layouts in Flutter - Google’s UI toolkit for building natively compiled applications for mobile, web, and desktop from a single codebase, refer to the classes called widgets used to build UIs, both for layout and UI elements.

How to create a dotted border around a box in flutter?

I am building a list of boxes layouts in my app using flutter. I want dotted border around the box. …

flutter border flutter-layout dotted-line
flutter - how to create forms in popup

I want to create a form inside a pop-up with flutter like the image below: popup . how can I do …

flutter dart popup flutter-layout flutter-form-builder
A non-null String must be provided to a Text widget

I'm trying to add the option for the quantity to be adjusted but I get an error saying "A non-null …

string flutter dart flutter-layout flutter-widget
Flutter ListView.Builder() in scrollable Column with other widgets

I have a TabBarView() with an amount of different views. I want of them to be a Column with a …

flutter dart flutter-layout
How to deal with unwanted widget build?

For various reasons, sometimes the build method of my widgets is called again. I know that it happens because a …

flutter dart flutter-layout flutter-widget unbound
How can I layout widgets based on the size of the parent?

Let's say you have a parent widget that might have a variable size. For example: var container = new Container( height: 200.0, // …

flutter dart flutter-layout
How to remove extra padding around AppBar leading icon in Flutter

In my Flutter app, I have this AppBar Widget setAppBar(){ return new AppBar( title: addAppBarTextWidget('Explore'), elevation: 0.0, leading: addLeadingIcon(), actions: &…

dart flutter flutter-layout
Bottom overflow by 30px

I face a problem by wrapping TextField with new Expanded(). When try to search something in textfield its show me …

flutter flutter-layout
Flutter - How to center widget inside list view

I'm struggling with centering a widget inside listView. I tried this, but Text('ABC') is not centered vertically. How can …

flutter flutter-layout
Limit max width of Container in Flutter

Widget build(context) { return Row( mainAxisSize: MainAxisSize.min, children: [ Container( width: 300, padding: EdgeInsets.all(10), decoration: BoxDecoration( color: color ?? Colors.blue, …

user-interface flutter flutter-layout word-wrap flutter-container