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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -