How to create a ShowCaseView in Flutter App? (Android & IOS)

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 18

  • @sayed_mohammad_sadat
    @sayed_mohammad_sadat Рік тому

    Good tutorial to indicate any widget for explaining features of application.
    Thanks Rapid Technology. ❤

  • @MrHassyy
    @MrHassyy Рік тому

    Such a great widget, also you've explained it very well. Thanks :)

  • @HQ_Gaming-b9i
    @HQ_Gaming-b9i Рік тому

    بسیار عالی ❤ امید بهتر از این هاره بسازید❤

    • @FlutterCool
      @FlutterCool  Рік тому

      تشكر اذ نظر نيك تان

  • @areion819
    @areion819 Рік тому

    Great tutorial! Thanks!

  • @abhayjadon1164
    @abhayjadon1164 9 місяців тому +1

    with button can we use left right position in this widget??

    • @FlutterCool
      @FlutterCool  9 місяців тому

      Check the all properties here:
      pub.dev/packages/showcaseview

  • @nomantariq1153
    @nomantariq1153 Рік тому

    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

    • @FlutterCool
      @FlutterCool  Рік тому +1

      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

    • @nomantariq1153
      @nomantariq1153 Рік тому

      @@FlutterCool thank you brother

    • @FlutterCool
      @FlutterCool  Рік тому

      Welcome & Pls like, share our videos :)

  • @vinicioeufrazio3248
    @vinicioeufrazio3248 10 місяців тому +1

    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

    • @FlutterCool
      @FlutterCool  10 місяців тому

      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]);
      });

    • @vinicioeufrazio3248
      @vinicioeufrazio3248 10 місяців тому +1

      @@FlutterCool I tested both codes, but it still gives the same error

    • @FlutterCool
      @FlutterCool  10 місяців тому

      Can you send your full codes here as email? yasinm289@gmail.com