Skip to content

Commit

Permalink
Merge pull request #29 from gumbarros/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
emanuel-braz authored Sep 2, 2022
2 parents d337e03 + db5fb64 commit f25f6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ return MaterialApp(


## 🚦 Warnings
\* OneContex().theme and OneContex().mediaQuery are global instances of the root of the widget tree. Use it with care! It can reproduce unexpected behavior if you don't understand it.
\* OneContext().theme and OneContext().mediaQuery are global instances of the root of the widget tree. Use it with care! It can reproduce unexpected behavior if you don't understand it.

\* OneContext().context is like a root context, so, it should not be used directly, as it can reproduce unexpected behaviors, unless you have a understanding how it works. It shouldn't work well with InheritedWidget for example.

Expand Down

0 comments on commit f25f6c4

Please sign in to comment.