Skip to content
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

[Gallery] Add Material Study app Rally as an example app #41090

Closed
wants to merge 2 commits into from

Conversation

perclasson
Copy link
Contributor

Description

Adds a Flutter sample app based on the Material study Rally (a hypothetical, personal finance app). It showcases custom tabs, custom painted widgets, and custom animations.

Simulator Screen Shot - iPhone Xʀ - 2019-09-23 at 11 17 25
Simulator Screen Shot - iPhone Xʀ - 2019-09-23 at 11 17 29
Simulator Screen Shot - iPhone Xʀ - 2019-09-23 at 11 17 32

Related Issues

N/A

Tests

I added the following tests:

N/A

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
  • No, this is not a breaking change.

@perclasson perclasson self-assigned this Sep 23, 2019
@fluttergithubbot fluttergithubbot added d: examples Sample code and demos team Infra upgrades, team productivity, code health, technical debt. See also team: labels. customer: gallery Relating to flutter/gallery repository. Please transfer non-framework issues there. labels Sep 23, 2019
@fluttergithubbot
Copy link
Contributor

It looks like this pull request may not have tests. Please make sure to add tests before merging. While there are exceptions to this rule, if this patch modifies code it is probably not an exception.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Copy link
Contributor

@clocksmith clocksmith left a comment

Choose a reason for hiding this comment

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

Looks good, just a lot of formatting changes because the flutter/flutter style guide is different. Be careful of using dartfmt after applying the formatting changes

examples/flutter_gallery/lib/demo/rally/app.dart Outdated Show resolved Hide resolved
examples/flutter_gallery/lib/demo/rally/app.dart Outdated Show resolved Hide resolved
examples/flutter_gallery/lib/demo/rally/finance.dart Outdated Show resolved Hide resolved
examples/flutter_gallery/lib/demo/rally/finance.dart Outdated Show resolved Hide resolved
examples/flutter_gallery/lib/demo/rally/home.dart Outdated Show resolved Hide resolved
_tabController.addListener(() {
if (_tabController.indexIsChanging &&
_tabController.previousIndex != _tabController.index) {
setState(() {});
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: setState(() { })

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What is the nit here, I don't follow?

Copy link
Contributor

Choose a reason for hiding this comment

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

usually empty functions in flutter/flutter are written as () { } instead of () {}

examples/flutter_gallery/lib/demo/rally/tabs/overview.dart Outdated Show resolved Hide resolved
@perclasson perclasson force-pushed the add_rally_to_examples branch 2 times, most recently from cb82127 to 5f610e3 Compare October 2, 2019 08:52
@perclasson
Copy link
Contributor Author

Reopening the pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer: gallery Relating to flutter/gallery repository. Please transfer non-framework issues there. d: examples Sample code and demos team Infra upgrades, team productivity, code health, technical debt. See also team: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants