Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
380 views

In Flet of Python that uses Flutter UI controls, I used the image_src and image_fit but my terminal says they are deprecated. ft.Container( expand=3, image_src=&...
Lexthunder's user avatar
0 votes
2 answers
141 views

Im using a container for a bottom navbar. The navbar has borderradius borderRadius: BorderRadius.only( topLeft: Radius.circular(30), topRight: Radius.circular(...
Febin Johnson's user avatar
-1 votes
1 answer
61 views

How to make a custom navbar with a curve like this? What i'm trying to make a navbar with a curve like this, when that particular navbar item is selected. I have used a container now Which will be ...
Febin Johnson's user avatar
1 vote
1 answer
67 views

I observed some weird behavior of Flutter's list view. It overflows it's boundary. I basically needed a screen with a heading area, a list-view in the middle and a footer. I enclosed the three ...
Vipul's user avatar
  • 33
0 votes
1 answer
68 views

I have one image container. when clip image that time some image part is show outside of the container. i add one image the right side of image part outside of container. child: Container( ...
Harsh Rajpara's user avatar
0 votes
1 answer
350 views

In this code one image container with black border and on this container one movable container using the movable container when click save button clip the image of using the movable container top and ...
Harsh Rajpara's user avatar
0 votes
1 answer
118 views

In this code, it works fine. but I have to change some. In this code, one container fixed position, and in this container, one image is added. and one movable container, and one crop button. but when ...
Harsh Rajpara's user avatar
0 votes
1 answer
322 views

i have one assets image and on this image one container i have to crop image when click save button and show crop image to next screen. i try this code but when click save button the show error. how ...
Harsh Rajpara's user avatar
1 vote
1 answer
105 views

I have one home screen. On this screen, there is one movable container and one floating button. When I click on this button, it should open the bottom sheet model. When the bottom sheet model is ...
Harsh Rajpara's user avatar
0 votes
1 answer
72 views

I have one image container, and on this image container, there is one frame container with a fixed position. However, when the image container moves, if the boundaries of the frame container and the ...
Harsh Rajpara's user avatar
0 votes
0 answers
63 views

When double tap on image container that time open bottom sheet model and alternative container is show. when bottom sheet open that time my alternative container show but i have to move this ...
Harsh Rajpara's user avatar
0 votes
1 answer
82 views

I have this code: AnimatedOpacity( duration: Duration(seconds: 1), opacity: _text == 'hide text'? 0 : 1, child: Text(_text), ) What is the easiest way to show old value of text (eg not 'hide ...
May's user avatar
  • 167
0 votes
0 answers
84 views

In this code i have resize container using all four corners but how to crop using all four mid point using this mid point crop image and than resize only crop image like below images in flutter. In ...
Harsh Rajpara's user avatar
0 votes
1 answer
54 views

in this code i have top left and bottom right solution for the drag the container. how to set another all point. here i have only two point solution not set the all position point. in this code i have ...
Harsh Rajpara's user avatar
1 vote
2 answers
79 views

when text container size decrease with font size that time the text not set in center. it is gone below size of container how to solve it. Container( height: height, ...
Harsh Rajpara's user avatar
0 votes
1 answer
608 views

in this textfiled i use expands and maxline both but show error how to set maxline 1. this textfiled i used in resizable container when the container size go small the text font go to new line but i ...
Harsh Rajpara's user avatar
0 votes
1 answer
114 views

here when the drag the container the text is not center if some height and width get than container text set in center. double width = 110.0; double height = 40.0; double fontSize = 14; bool ...
Harsh Rajpara's user avatar
1 vote
3 answers
171 views

I'm a newbie in Flutter. From what I can figure out, I need to use Stack, Container, Position to get the result, but unable to come close to it. If anyone can point to a related article to achieve ...
Nilachandan Mohanty's user avatar
1 vote
0 answers
230 views

In this code i have to rotate text container. but the container rotate only one direction and than another not rotate full 360 degree. the container move the 360 degree and smooth not more speed to ...
Harsh Rajpara's user avatar
3 votes
1 answer
293 views

I'm currently working on a page in my Flutter app and facing challenges implementing a specific logic. When the app launches, I want the page to initially display the 'appbardown' widget (the larger ...
Ahmad Maaz's user avatar
0 votes
1 answer
102 views

in this code i have to fit image into container. but not chnage any widget it is same only image fit in container. body: GestureDetector( onScaleStart: (details) { ...
Harsh Rajpara's user avatar
0 votes
1 answer
124 views

I am displaying an image in Flutter. This image is displayed at the center of the screen. After I add the container using the floating action button, the image moves from the center to the top ...
Harsh Rajpara's user avatar
0 votes
0 answers
87 views

I have set positioned as children in Stack. but when run the code the error show this type: Failed assertion: line 600 pos 12: 'size.isFinite': is not true. this is my code double width = 200.0; ...
Harsh Rajpara's user avatar
0 votes
1 answer
168 views

I am starting on Flutter and I have a small UI issue that I cannot find a way to fix. There is a small margin between the button and the container that I would like to remove. Below is my code: ...
Seb's user avatar
  • 3,255
1 vote
2 answers
84 views

Like below I used BoxDecoration in Container Widget. But I have not created Container( height: 100, decoration: BoxDecoration( color: Colors.blue, borderRadius: const BorderRadius....
sukekyo000's user avatar
0 votes
0 answers
55 views

I have a Wrap Widget which has a couple of Containers as children. These Containers have a Text Widget as child with different String lengths. return SizedBox( height: MediaQuery.of(context).size....
Yuki's user avatar
  • 325
0 votes
2 answers
107 views

I have tried using the widget verticaldivider() in flutter, The code seems to work fine but i the divider is not visible on my app. where i want it to be. I want the divider to be between two images. ...
Ahmad Maaz's user avatar
0 votes
1 answer
42 views

selectedDateTime != null //if true ? Container( decoration: BoxDecoration( gradient: LinearGradient( ...
Malik Muhammad Aman's user avatar
0 votes
2 answers
512 views

I want to give bottom right corner radius to Container. For that I have set right and bottom border of the Container. However, it is not allowing me to set the bottom right corder radius. The ...
Mahendra's user avatar
  • 8,962
0 votes
3 answers
720 views

I am new to flutter. And i am trying to hide the bottom red part (see the first screenshot) of the blue container under the screen, in order to hide the buttom part of a white border and use this ...
Misha Danilenko's user avatar
0 votes
3 answers
716 views

I want to make a UI which has a outer container which has border. Inside the container I have a column which contains a image and a container text inside. I want the inner container which has text to ...
Hasnain Bhatti's user avatar
0 votes
1 answer
178 views

Container( height: 100, color: Colors.black, child: const Text( 'height, width vs varsa önce bunlar kendisini ön plana ...
UF7K's user avatar
  • 3
1 vote
1 answer
853 views

Here is my code: class ListItems extends StatelessWidget { final String child; const ListItems({super.key, required this.child}); @override Widget build(BuildContext context) { return Sizer(builder: ...
Zeher's user avatar
  • 25
0 votes
1 answer
1k views

I have a Column which has a 2 items : 1- badge and 2- container . I want to place the half of the badge inside the container , the image will be more clear , and here is the parts of code : Column( ...
behnami454's user avatar
-1 votes
1 answer
22 views

Is it possible to create a logic that allows the container to only display only text (image above) or text and image (image below) when image is available.
Olasoji Oluwadamilola's user avatar
-1 votes
3 answers
659 views

Container( color: Color('#260033'), height: 150.0, width: double.infinity, child: Column( i want to use hex code to change the container color.pls help me regarding this. Container( color: Color('#...
suman singh's user avatar
-2 votes
1 answer
675 views

enter code hereI'm having trouble scrolling through a PageView.builder widget that's embedded inside a Container in Flutter. I've tried setting the physics property of the PageView.builder to ...
H Saika's user avatar
0 votes
1 answer
255 views

Container( height: MediaQuery.of(context).size.height * 0.35, width: MediaQuery.of(context).size.height * 0.45, decoration: const BoxDecoration( ...
Ahmad Maaz's user avatar
0 votes
3 answers
654 views

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 ...
Umyt King's user avatar
0 votes
2 answers
691 views

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 ...
Snefru Clone's user avatar
0 votes
1 answer
48 views

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's user avatar
  • 19
0 votes
1 answer
2k views

How to achieve this effect with Flutter? Preferably with something like animatedContainer, but not necessarily.
May's user avatar
  • 167
0 votes
1 answer
51 views

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 ...
ABHISHEK RANJAN's user avatar
1 vote
2 answers
774 views

I have a container with a lighter background color (light green with opacity of 50%) and the container shadow color is dark black (opacity 100%). Because of darker shadow color my container color got ...
Ahmed Noman's user avatar
0 votes
1 answer
87 views

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 ...
fazilSizzlers's user avatar
0 votes
0 answers
189 views

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 ...
Himanshu Bodwal's user avatar
0 votes
1 answer
1k views

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 ...
Ashish Purohit's user avatar
1 vote
1 answer
2k views

I am using this function to get images from the gallery _getFromGallery() async { XFile? pickedFileGal = await ImagePicker().pickImage( source: ImageSource.gallery, maxWidth: 1800, ...
Abubakar's user avatar
0 votes
1 answer
242 views

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 ...
fazilSizzlers's user avatar
0 votes
1 answer
46 views

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 ...
fazilSizzlers's user avatar