Skip to content

[flutter_migrate] base boilerplate files - #2694

Merged
auto-submit[bot] merged 9 commits into
flutter:mainfrom
GaryQian:migratebase
Oct 10, 2022
Merged

auto-submit[bot] merged 9 commits into
flutter:mainfrom
GaryQian:migratebase

Conversation

@GaryQian

@GaryQian GaryQian commented Oct 9, 2022 •

Copy link
Copy Markdown
Contributor

These files are largely replicated from the flutter_tools repo with extraneous features selectively stripped out.

Tests are also from flutter_tools.

Although about half of the lib/src/base code is stripped already, it is likely possible to strip out more of the code in these files, though at some point it makes sense to continue with the landing process instead of chasing a minimal set of boilerplate code.

Format

Licence to 2013

Analyzis

Move analyzer ignores

formatting

Analyzer

Format
@GaryQian
GaryQian marked this pull request as ready for review October 10, 2022 16:55

@stuartmorgan-g stuartmorgan-g left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

A couple of nits, but otherwise RSLGTM

Comment thread script/configs/custom_analysis.yaml Outdated
- web_benchmarks/testing/test_app
# Adopts some flutter_tools rules regarding public api docs due to being an
# extension of the tool and using tools base code.
- flutter_migrate No newline at end of file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nit: let's keep this file alphabetized rather than last-added, for simplicity of finding things in it.


@override
String toString() =>
'Exception: $message'; // TODO(ianh): Really this should say "Error".

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do you want to just change this rather than replicating the TODO?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, i'll just change it!

@GaryQian GaryQian added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 10, 2022
@auto-submit
auto-submit Bot merged commit 9b42b5f into flutter:main Oct 10, 2022
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
bisor0627 pushed a commit to bisor0627/packages that referenced this pull request Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: flutter_migrate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants