-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Add cupertino examples to the Floating App Bar recipe. #11821
Conversation
Visit the preview URL for this PR (updated for commit 869aa0e): https://flutter-docs-prod--pr11821-ios-floating-app-bar-pezzbxio.web.app |
@Sfshaza a test is failing. To appease the test, I'll have to add a |
examples/cookbook/lists/floating_app_bar/lib/main_cupertino.dart
Outdated
Show resolved
Hide resolved
Yeah, I don't love it, but I guess it's ok. We do need to appease the build. |
I managed to make things work! Whew. All tests should run successfully now. |
// #docregion SliverList | ||
// Next, create a SliverList | ||
SliverList.builder( | ||
// The builder function returns a ListTile with a title that |
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: ListTile should be CupertinoListTile here and on line 32
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.
Fixed!
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 great!
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.
lgtm!
Description of what this PR is changing or adding, and why:
Note: It's not easy to tell when content belongs to a tab. We might consider adding some shading back to our tabs. Just a thought for the future.
Issues fixed by this PR (if any):
PRs or commits this PR depends on (if any):
Presubmit checklist