More Widgets

Positioning Elements in Columns and Rows

  • Expanded will give the element as much space as possible in a row or column (can use flex to adjust).
  • Flexible will give some space(fit: Flexfit.loose) to the element, can use Flexfit and flex to adjust.

Background

Container(
    decoration: BoxDecoration(image: DecorationImage(image: AssetImage('assets/background.jpg'))))

results matching ""

    No results matching ""