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

chore: refactor example app #1734

Merged
merged 18 commits into from
Nov 24, 2023
Merged

Conversation

josxha
Copy link
Contributor

@josxha josxha commented Nov 22, 2023

  • use "new" language features like super.key
  • turn things like the drawer into their own widgets
  • use CancellableNetworkTileProvider everywhere possible since it's the recommended way and to avoid console warnings
  • remove the CancellableTileProviderPage
  • restructure plugin files
  • use lint rules from the package for the example project too Match the lint rules with the package automatically
  • Bump flutter_lints to ^3.0.0

@josxha josxha self-assigned this Nov 22, 2023
@josxha josxha marked this pull request as ready for review November 22, 2023 23:24
example/analysis_options.yaml Outdated Show resolved Hide resolved
example/lib/main.dart Outdated Show resolved Hide resolved
@JaffaKetchup
Copy link
Member

I'll have a review of this as well, a little later.

Copy link
Collaborator

@TesteurManiak TesteurManiak left a comment

Choose a reason for hiding this comment

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

LGTM! (waiting for @JaffaKetchup's review before approving)

Added notice banners to some example pages
Improved consistency across pages
Removed unnecessary file in example source
@JaffaKetchup
Copy link
Member

@TesteurManiak @ignatz Let me know what you think. If you're happy @TesteurManiak feel free to approve and merge.

@ignatz
Copy link
Contributor

ignatz commented Nov 23, 2023

I only skimmed through the many lines. I only found a few pick-your-own-destiny nits. Looks like a great brush up. Thank you Josha

@JaffaKetchup JaffaKetchup merged commit 670cb36 into fleaflet:master Nov 24, 2023
6 checks passed
@josxha
Copy link
Contributor Author

josxha commented Nov 24, 2023

Thanks @ignatz I appreciate it :)

josxha added a commit to josxha/flutter_map that referenced this pull request Nov 28, 2023
Co-authored-by: JaffaKetchup <github@jaffaketchup.dev>
josxha added a commit that referenced this pull request Nov 28, 2023
Co-authored-by: JaffaKetchup <github@jaffaketchup.dev>
@josxha josxha added this to the v6.1 milestone Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants