Vote of confidence for enabling contextless control of the Showcase #519
Closed
aditya-css
started this conversation in
Polls
Replies: 1 comment
-
The code for context less approach is now merged in the master branch! Thank you for participating. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, thank you for all the love you guys have shown for this package. We are at 180K+ downloads on pub.dev! 🎉
One thing we have felt is that the
BuildContext context
becomes a hurdle when someone tries to keep all the business logic controlling showcase separate and encapsulated. Another thing is that many people face exception accessingShowCaseWidget
from acontext
that doesn't include it. Seeing all this, we are thinking of bringing a change by going contextless and we need to hear what you guys would prefer.We can introduce something like
ShowcaseView.get()
using which you can invoke all the methods that are available viaShowCaseWidget.of(context)
. For more details or hands on experience, you can take a look at PR #518 and try it for yourself.We will go forward in the direction this polls leans towards, whether it be contextless or sticking with the context.
17 votes ·
Beta Was this translation helpful? Give feedback.
All reactions