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 do I add margins to my widget ? Understanding the effect of EdgeInsets

I am trying to wrap my head around ui placement in Flutter. So I currently have something that looks like …

flutter flutter-layout
How to implement CheckBox in Flutter?

Here I have mentioned my code of checkbox. I am new to flutter, So I have to implement it for …

flutter flutter-layout
How to solve ' RenderBox was not laid out:' in flutter in a card widget

I have a card that has three containers. The first two have text and the last one is supposed to …

flutter dart flutter-layout
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
Flutter Text Field: How to add Icon inside the border

I would like to add the icon in the search bar. Here is my code so far: new TextField( decoration: …

flutter flutter-layout
Horizontally scrollable cards with Snap effect in flutter

I want to create a list of cards scrolling horizontally with snap to fit effect when swiped either from left …

dart flutter flutter-layout flutter-animation flutter-sliver
Alert Dialog with Rounded corners in flutter

I am trying to create an alert dialog with rounded corners in Flutter same as below screenshot. also add my …

flutter flutter-layout
Flutter: Scrolling to a widget in ListView

How can I scroll to a special widget in a ListView? For instance I want to scroll automatically to some …

flutter listview dart flutter-layout flutter-container
Flutter : How to add a Header Row to a ListView

Very new to Flutter. I've been able to utilize HTTP requests for data, build a ListView, edit a Row in …

flutter listview dart header flutter-layout
How can we change appbar background color in flutter

I am trying to set a common theme for app so I need to change appbar color as a color …

dart flutter flutter-layout