it's a good thing and you did an amazing job. But i have a question. How can we set that showcase should be run just once when the app is newly installed, and mean we just want to run the showcase hing at the very first time when we open the app, hope you understand. please explain thanks
Thanks for your great comment, You can use shared preference or flutter secure storage package to save the state as boolean when the case view shows. and in the second time, check if it shown previously don't show it again. pub.dev/packages/shared_preferences pub.dev/packages/flutter_secure_storage
Great tutorial friend, but I had a problem, for some reason, in the line WidgetsBinding.instance.addPostFrameCallback((timeStamp) { ShowCaseWidget.of(context).startShowCase([add, item, search]); }); is giving me: _Exception (Exception: Please provide ShowCaseView context) I even copied and pasted your code but for some reason it keeps giving this error
Good tutorial to indicate any widget for explaining features of application.
Thanks Rapid Technology. ❤
Glad it was helpful!
Such a great widget, also you've explained it very well. Thanks :)
Glad it was helpful!
بسیار عالی ❤ امید بهتر از این هاره بسازید❤
تشكر اذ نظر نيك تان
Great tutorial! Thanks!
Welcome 😍 :)
with button can we use left right position in this widget??
Check the all properties here:
pub.dev/packages/showcaseview
it's a good thing and you did an amazing job. But i have a question. How can we set that showcase should be run just once when the app is newly installed, and mean we just want to run the showcase hing at the very first time when we open the app, hope you understand. please explain thanks
Thanks for your great comment,
You can use shared preference or flutter secure storage package to save the state as boolean when the case view shows. and in the second time, check if it shown previously don't show it again.
pub.dev/packages/shared_preferences
pub.dev/packages/flutter_secure_storage
@@FlutterCool thank you brother
Welcome & Pls like, share our videos :)
Great tutorial friend, but I had a problem, for some reason, in the line WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
ShowCaseWidget.of(context).startShowCase([add, item, search]);
});
is giving me: _Exception (Exception: Please provide ShowCaseView context)
I even copied and pasted your code but for some reason it keeps giving this error
Thanks for your comment, try this code 👇
SchedulerBinding.instance.addPostFrameCallback((_) {
ShowCaseWidget.of(context).startShowCase([add, item, search]);
});
If the above code doesn't work, try the below code 👇
Future.delay(Duration.zero, () {
ShowCaseWidget.of(context).startShowCase([add, item, search]);
});
@@FlutterCool I tested both codes, but it still gives the same error
Can you send your full codes here as email? yasinm289@gmail.com