Questions tagged [flutter-positioned]

55 questions
0
votes
2 answers

Flutter Dart layouts, Stack, Positioned how to stretch matrix of Material Buttons over whole screen

How can I have matrix of material buttons stretch across whole screen, if I just use height they will stretch to little or out of the screen based on screen size? I can do that easily just in matrix with height: double.infinity, and…
Jan
  • 247
  • 2
  • 15
0
votes
2 answers

Flutter, How to set Alignment in a PositionedWidget in a StackWidget?

How to make it possible to Center the Animation? I'm using the https://pub.dev/packages/simple_animations package. I have a Stack with multiple Positioned Widgets, with Animations as childs. The issue is that the animation is not animating from the…
midi
  • 3,128
  • 5
  • 30
  • 47
0
votes
2 answers

"RenderStack object was given an infinite size during layout" when using Positioned inside a Stack

I'm creating a widget that presents a Stack inside a Container. Inside the Stack there is a dynamic Column inside a Positioned widget, which sticks the Column to the Bottom. I am trying to wrap the Stack in a SingleChildScrollView, that if the…
F.SO7
  • 695
  • 1
  • 13
  • 37
0
votes
2 answers

Why CircleAvator's position can't align exactly under The IconButton?

created a IconButton and positioned it responsively. And then wrapped it with CircleAvator widget. I was expecting the circleavator would be placed under the IconButton and also would behave responsively but CircleAvator doesn't align under the…
Abir Ahsan
  • 2,649
  • 29
  • 51
0
votes
2 answers

Specific position of icon in Container with BoxDecoration and child: Row

I am trying to move the red block to the right of the Container. I have tried many variations but no matter where I move the code, that "red container" bit, I cannot get it to the position on the top right. I will make it a clickable icon when I get…
Marina
  • 101
  • 1
  • 7
0
votes
0 answers

Positioned Widgets on SingleChildScrollView - Differences between smartphones - Flutter

I'm developing a small game with a scrollable map and levels. I have a scrollable map in a SingleChildScrollView. I want to put my Positioned Widgets (my levels) on my map. I used this formula to find map resolution: width_map/height_map. I used…
Carlo
  • 813
  • 1
  • 15
  • 34
-1
votes
2 answers

How can i add the images stacked over one another

I want to add a different persons image as attached(The images inside circle avatar stacked over one another).How to achieve this. I tried the following code but didn't get the result as expected Padding( padding: EdgeInsets.only(top: 7), …
F sam
  • 51
  • 7
-1
votes
1 answer

Flutter - Positioned inside Stack inside Row doesn't render

I'm trying to position the search icon inside the perimeter of the first input in the Row but getting errors and blank screen. The code without Stack and Positioned works: Row( children: [ Expanded( …
-2
votes
1 answer

How to hide bottomsheet when keyborad is up

i Want to fix the bottomsheet down when keyboard comes up Here is the code strcuture how i created the stack
-2
votes
1 answer

Dynamically position widget in stack Flutter

I am trying to create a view that consist of a background image with widgets positioned dynamically in certain places on this image, each widget will have an x and y that needs to be calculated for different screens and for different image…
Oxodiya
  • 1
  • 1
1 2 3
4