More Widgets
Positioning Elements in Columns and Rows
Expanded
will give the element as much space as possible in a row or column (can useflex
to adjust).Flexible
will give some space(fit: Flexfit.loose
) to the element, can useFlexfit
andflex
to adjust.
Background
Container(
decoration: BoxDecoration(image: DecorationImage(image: AssetImage('assets/background.jpg'))))