Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 1
    Thank you for the help but still not working. I think it's something to do with stack or positioned or draggable. Because hierarchy is stack -> positioned -> draggable. Am I right?
    – Daibaku
    Commented Aug 20, 2018 at 13:15
  • 1
    Thank you so much it worked perfectly. You just made my day!
    – Daibaku
    Commented Aug 20, 2018 at 13:35
  • 81
    Try the Flexible widget instead. Hardcoding containers width should not be necessary.
    – Boni2k
    Commented Aug 20, 2018 at 13:47
  • 2
    it didn’t work i tried so many times with it. Do you have any idea?
    – Daibaku
    Commented Aug 20, 2018 at 14:53
  • 2
    Perl forlks would say: "There's more than one way to do it". It served me well at the time, when Flutter was fairly new-ish. I'm glad there's now an official path. Commented Feb 22, 2021 at 12:49