Flutter & Dart · Component
Expanded
Expanded makes a child of Row, Column, or Flex fill available space along the parent’s main axis. Multiple Expanded children divide that space according to their flex values.
Last updated
Syntax
const Expanded({Key? key, int flex = 1, required Widget child})In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
FlexibleSpacerRowColumnFlexFlexParentData