From ab06d033ca210964c541f09c53803590aa95e865 Mon Sep 17 00:00:00 2001 From: Hans Muller Date: Fri, 5 Apr 2019 17:40:38 -0700 Subject: [PATCH] Fixed a typo in the Expanded API doc (#30563) --- packages/flutter/lib/src/widgets/basic.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart index 2b1bd87757..a1c0e2a3bb 100644 --- a/packages/flutter/lib/src/widgets/basic.dart +++ b/packages/flutter/lib/src/widgets/basic.dart @@ -4297,10 +4297,11 @@ class Flexible extends ParentDataWidget { } } -/// A widget that expands a child of a [Row], [Column], or [Flex]. +/// A widget that expands a child of a [Row], [Column], or [Flex] +/// so that the child fills the available space. /// /// Using an [Expanded] widget makes a child of a [Row], [Column], or [Flex] -/// expand to fill the available space in the main axis (e.g., horizontally for +/// expand to fill the available space along the main axis (e.g., horizontally for /// a [Row] or vertically for a [Column]). If multiple children are expanded, /// the available space is divided among them according to the [flex] factor. /// @@ -4395,7 +4396,8 @@ class Flexible extends ParentDataWidget { /// * The [catalog of layout widgets](https://flutter.dev/widgets/layout/). class Expanded extends Flexible { /// Creates a widget that expands a child of a [Row], [Column], or [Flex] - /// expand to fill the available space in the main axis. + /// so that the child fills the available space along the flex widget's + /// main axis. const Expanded({ Key key, int flex = 1,