-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Primary scroll view support for SingleChildScrollView #8437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 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.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: missing newline before )
There was a problem hiding this comment.
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
|
LGTM if you add a test |
|
Added! |
| this.scrollDirection: Axis.vertical, | ||
| this.reverse: false, | ||
| this.padding, | ||
| this.primary: false, |
There was a problem hiding this comment.
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 :-))
There was a problem hiding this comment.
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.
No description provided.