Skip to content

Comments

fix: move all .of(context) out of the widget tree and into a variable#194

Open
PureTryOut wants to merge 4 commits intoaustinried:mainfrom
PureTryOut:fix/context-in-build
Open

fix: move all .of(context) out of the widget tree and into a variable#194
PureTryOut wants to merge 4 commits intoaustinried:mainfrom
PureTryOut:fix/context-in-build

Conversation

@PureTryOut
Copy link

Contains commits from #193, merge that first.

I guess fvm changed the way it does it's configuration at some point,
but rather than having .fvm/fmv_config.json checked in .fvmrc should be
checked in. The .fvm directory is used to store files and symlinks
related to the installed Flutter version and as such should not be
commited at all.
Seettings in there can be different per user and should be, it should
not be committed
At the time of writing the latest Flutter version.
At some places <something>.of(context) was used multiple times in the
same widget. This, although small, can have an impact on performance
that's just plain unnecessary. It's better to just get things you need
out of the context first before you do anything else.
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.

1 participant