Column#

Column is a layout widget that arranges its child widgets vertically, one below the other — like stacking items in a column.

Column(

  1. key: → Key? (Used to identify the widget uniquely in the widget tree.)

  2. mainAxisAlignment: → MainAxisAlignment (Controls how the children are aligned vertically — since Column’s main axis is vertical.)

  3. mainAxisSize: → MainAxisSize (Determines how much vertical space the Column should occupy — max or min.)

  4. crossAxisAlignment: → CrossAxisAlignment (Controls how the children are aligned horizontally — across the cross axis.)

  5. textDirection: → TextDirection? (Defines text direction for alignment when it matters — for example rtl or ltr.)

  6. verticalDirection: → VerticalDirection (Determines whether children are laid out from top to bottom or bottom to top.)

  7. textBaseline: → TextBaseline? (Used with crossAxisAlignment.baseline to align text baselines.)

  8. children: → List<Widget> (The list of widgets inside the Column.)

)

✅1.key:#

✅2.mainAxisAlignment:#

✅3.mainAxisSize:#

✅4.crossAxisAlignment:#

✅5.textDirection:#

✅6.verticalDirection:#

✅7.textBaseline:#

✅8.children:#