Unverified Commit 0ff8030d authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Fix constructor doc for ScrollView.primary (#100935)

parent a171f306
...@@ -71,7 +71,11 @@ enum ScrollViewKeyboardDismissBehavior { ...@@ -71,7 +71,11 @@ enum ScrollViewKeyboardDismissBehavior {
abstract class ScrollView extends StatelessWidget { abstract class ScrollView extends StatelessWidget {
/// Creates a widget that scrolls. /// Creates a widget that scrolls.
/// ///
/// If the [primary] argument is true, the [controller] must be null. /// The [ScrollView.primary] argument defaults to true for vertical
/// scroll views if no [controller] has been provided. The [controller] argument
/// must be null if [primary] is explicitly set to true. If [primary] is true,
/// the nearest [PrimaryScrollController] surrounding the widget is attached
/// to this scroll view.
/// ///
/// If the [shrinkWrap] argument is true, the [center] argument must be null. /// If the [shrinkWrap] argument is true, the [center] argument must be null.
/// ///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment