You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working on a laptop, my console is usually just 4-6 lines high.
The error output Could not find the correct Provider<X> above this Y Widget is followed by a long chunk of instructions on how to use provider before the stack trace is shown - however, usually these two are the only things I care about as someone who is familiar with the package: what provider I forgot to create, and where it's missing.
I'm happy to contribute on this, I was thinking a global bool Provider.conciseErrors setter would do the trick - any objections?
The text was updated successfully, but these errors were encountered:
Alternatively, swap the order of the instructions and the info which provider was missing, so that an auto-scrolling console will have the most relevant info at the bottom:
- [provider how-to...]
- Error: Could not find the correct Provider<$valueType> above this $widgetType Widget
- [Stacktrace]
When working on a laptop, my console is usually just 4-6 lines high.
The error output
Could not find the correct Provider<X> above this Y Widget
is followed by a long chunk of instructions on how to use provider before the stack trace is shown - however, usually these two are the only things I care about as someone who is familiar with the package: what provider I forgot to create, and where it's missing.I'm happy to contribute on this, I was thinking a global
bool Provider.conciseErrors
setter would do the trick - any objections?The text was updated successfully, but these errors were encountered: