footer - Flutter: Trying to bottom-center an item in a Column, but it keeps left-aligning -


i'm trying bottom-center widget @ bottom of column, keeps aligning left.

return new column(   new stack(     new positioned(       bottom: 0.0,        new center(         new container(),       ),     ),   ), );  

the existence of positioned forces container left, instead of centering. removing positioned, however, puts container in middle-center.

1) can use align widget, fractionaloffset.bottomcenter.

2) can set left: 0.0 , right: 0.0 in positioned.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -