For questions relating to Flutter's Container class. Use this tag in combination with the general [flutter] tag. If your question applies to Flutter more generally, use the [flutter] tag only.
Questions tagged [flutter-container]
107 questions
0
votes
0 answers
Facing issue with D Controller building flutter TV App Development
I need help with D Controller building flutter TV Apps like chillyflix
I tried to integrate D controller in my flutter app but not able to manage sequence of the focus..
0
votes
1 answer
listview builder moves out of the container bounds when i add content in my list
Container(
height: MediaQuery.of(context).size.height * 0.35,
width: MediaQuery.of(context).size.height * 0.45,
decoration: const BoxDecoration(
gradient: LinearGradient(
…

Ahmad Maaz
- 45
- 6
0
votes
3 answers
Flutter form in Container, when validator works Container comes too small for Form
Im a new flutter developer, so please can u help me with this problem.
The problem is when validator in TextFieldForm "works" it adds text that user did something wrong.
And my Container is become to small for Form. I need to stretch the container…
0
votes
2 answers
Why can't make containers have the same width inside the Row
This question has been asked many times but none of the methods worked for me.
I've been trying to make these containers have the same width and height. I tried using Expanded but apperantly, it expands the children to fit the layout, which I don't…

Snefru Clone
- 77
- 1
- 9
0
votes
1 answer
How to implement colours dropdown in flutter?
enter image description here
how to implement this dropdown in flutter?(please refer the image above)
when the dropdown is expanded it should show a list of colours in a circular container.

Rosh
- 29
- 4
0
votes
1 answer
Flutter loading text animation
How to achieve this effect with Flutter? Preferably with something like animatedContainer, but not necessarily.

May
- 93
- 7
0
votes
1 answer
Set container width according to image.network widh in flutter?
i want to fix my container size(width) according to the image which is getting from api(image.network..).So, how can i go for this?
i am trying to set dynamic width of container according to image which i get from image.network() in flutter.
0
votes
1 answer
Flutter image in container look streched
When I try to place an image in container with specific height the image look stretched please find the below screenshot. Is it possible to fit the image as actual image without stretching.
actual image
Container(
height: 350,
…

fazilSizzlers
- 195
- 10
0
votes
0 answers
How to make container fixed. the container wont resize after clicking the widgets inside it . Flutter
I am having trouble with my design as i want this container as a background for my dropdowns and textformfield. but its changing its size once i click on description or dates.
Please help how to make it fixed. i have attached some screenshots also…

Himanshu Bodwal
- 3
- 3
0
votes
1 answer
Diagonal Design and Skew Container in Flutter
I want to achieve the layout as attached image in this question
there are 3 colors:
navy, purple, and white.
I'm aware that custom clipper can be used, but I'm unable to make one and what values to use
in it. A solution with explanation will be…

Ashish Purohit
- 3
- 2
0
votes
1 answer
flutter container Image not fitting to screen
I am trying to fit image to the whole screen. I am using media query to fill the image for the whole screen, but the problem is image is scrolling when using media query full height. Is it possible to show image without scrolling to fill the whole…

fazilSizzlers
- 195
- 10
0
votes
1 answer
Flutter same container different content animation
In a container widget I am showing a text widget for displaying content. I am using same container but the text content differs based on user selection. when user choose different option is it possible to fade the old content and show new content…

fazilSizzlers
- 195
- 10
0
votes
5 answers
How to place a container on top of other container properly in flutter
I have a container with image and I wanted to place another small container on top to show an icon on the bottom right of it
Widget buildImage2() {
return Center(
child: Container(
decoration: const BoxDecoration(
…

taha khamis
- 401
- 4
- 22
0
votes
2 answers
unable to change color of container in expansion Tile flutter
I am creating an expansion tile in flutter web that I have wrapped around a container. The default is green color. I want to do is so that if the widget is expanded, the color changes to blue. I tried using setState but it still does not work.
…

newtocode
- 17
- 3
0
votes
5 answers
how to give curve design inside container in flutter?
I trying to understand how can I design curves in a container like the below
can anyone help me to design this kind of container? much appreciate it if anyone provides code for this kind of design.
Thank you in advance.

shanmkha
- 416
- 1
- 8
- 27