diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart index c913e0a3e9..c2ec0ab096 100644 --- a/packages/flutter/lib/src/widgets/basic.dart +++ b/packages/flutter/lib/src/widgets/basic.dart @@ -1879,15 +1879,30 @@ class GridPlacementData extends ParentDataWidget { - /// Creates a widget that controls how a child of a [Flex], [Row], or [Column] flexes. + /// Creates a widget that controls how a child of a [Row], [Column], or [Flex] + /// flexes. Flexible({ Key key, this.flex: 1, diff --git a/packages/flutter/test/widget/parent_data_test.dart b/packages/flutter/test/widget/parent_data_test.dart index f4dd693271..928a9db61c 100644 --- a/packages/flutter/test/widget/parent_data_test.dart +++ b/packages/flutter/test/widget/parent_data_test.dart @@ -265,7 +265,7 @@ void main() { await tester.pumpWidget( new Container( - child: new Flex( + child: new Row( children: [ new Positioned( top: 6.0,