Skip to content

Conversation

@cbracken
Copy link
Member

No description provided.

assert(primary != null);
assert(controller == null || !primary,
'Primary ScrollViews obtain their ScrollController via inheritance from a PrimaryScrollController widget. '
'You cannot both set primary to true and pass an explicit controller.');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: missing newline before )

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like i screwed that up in scroll_view.dart too

@Hixie
Copy link
Contributor

Hixie commented Feb 27, 2017

LGTM if you add a test

@cbracken
Copy link
Member Author

Added!

@cbracken cbracken merged commit c8c37fc into flutter:master Feb 28, 2017
@cbracken cbracken deleted the primary_single_child branch February 28, 2017 00:11
this.scrollDirection: Axis.vertical,
this.reverse: false,
this.padding,
this.primary: false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side-note: our widget constructors need dartdoc (I was gonna say this param should be documented, only to realize the whole constructor needs to be documented :-))

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the scrolling classes are missing many dartdocs. It's on my list for this week.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants