Point people to Block from some likely places. (#6444)

This is loosely based on the experience of usability study participant P1.
This commit is contained in:
Ian Hickson
2016-10-20 20:44:05 -04:00
committed by GitHub
parent 605a636e5b
commit fb25257fcb
2 changed files with 8 additions and 0 deletions

View File

@@ -1979,6 +1979,11 @@ class Row extends Flex {
///
/// For details about the flex layout algorithm, see [RenderFlex]. To control
/// the flex of child widgets, see the [Flexible] widget.
///
/// The Column widget does not scroll (and in general it is considered an error
/// to have more children in a Column than will fit in the available room). If
/// you have a list of widgets and want them to be able to scroll if there is
/// insufficient room, consider using a [Block].
class Column extends Flex {
/// Creates a vertical array of children.
///

View File

@@ -66,6 +66,9 @@ typedef double SnapOffsetCallback(double scrollOffset, Size containerSize);
///
/// Widgets that subclass [Scrollable] typically use state objects that subclass
/// [ScrollableState].
///
/// If you have a list of widgets and want them to be able to scroll if there is
/// insufficient room, consider using [Block].
class Scrollable extends StatefulWidget {
/// Initializes fields for subclasses.
///