ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

How To Control Routes Using Go Router For Flutter Web App | Check Authentication For Routes | Hindi

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2023
  • Control of the routes is important in web applications. Don't allow Users to change routes or pages without authentication. You can mange through any package, We have used the Go router package here and in the next video, we will check using the Getx package.
    Source Code: github.com/ani...
    ---------------------------------------------------------------------------------------------------
    Watch my other videos:
    Flutter PlayList
    • FVM- Flutter Version M...
    Web APP:
    • Flutter Web App Deploy...
    _________________________________________________________________________
    - Singleton Class In Dart | Flutter. factory Constructor in Flutter.
    • Dart Language Part-9 |...
    _________________________________________________________________________
    • FVM- Flutter Version M...
    • Google Assistant in An...
    • Flutter Course Part-1 ...
    _________________________________________________________________________
    Connect me on:
    GitHub: github.com/ani...
    Medium: / anil_sharma
    Twitter: / itsanilg
    Thanks for Watching!

ความคิดเห็น • 15

  • @murlidharpalav283
    @murlidharpalav283 7 หลายเดือนก่อน

    Hey, How can we pass arguments from one screen to another with routes

  • @omprakashchauhan970
    @omprakashchauhan970 ปีที่แล้ว +1

    Routing doesn't work in production when i type manually in the address bar, also when i refresh its show me page not found but in debug mode works fine everything any idea what's the issue.
    You can check after deployment.

    • @andresito-001
      @andresito-001 10 หลายเดือนก่อน

      Same problem, do you find a solution?

    • @omprakashchauhan970
      @omprakashchauhan970 10 หลายเดือนก่อน

      @@andresito-001 when we remove hash (#) from url it's shows 404 after refresh. So don't remove hash (#) from url it will work fine.

    • @GildsonAlves-zk9rl
      @GildsonAlves-zk9rl 9 หลายเดือนก่อน

      Maybe you need to configure your web server, when using SPA its necessary to configure to push to index.html each "unknow path". Its depends whats you are using to deploy. On AWS its possible to configure a rule to every 404 redirects to index.html.

  • @jdodiguez
    @jdodiguez ปีที่แล้ว

    great!

    • @itsanilgg
      @itsanilgg  8 หลายเดือนก่อน

      Thanks!

  • @demodemo9429
    @demodemo9429 ปีที่แล้ว +1

    Iam stuck in this redirect from 1 week bro can I create one more example with proper redirect with provider pls 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

    • @itsanilgg
      @itsanilgg  ปีที่แล้ว +1

      Sure, thanks

    • @demodemo9429
      @demodemo9429 ปีที่แล้ว

      @@itsanilgg 🎉🎉🎉🎉🎉🎉🎉🎉🎉😍😍😍😍😍😍😍😍😍😍😍😍

  • @MughalUmar-wk1lo
    @MughalUmar-wk1lo ปีที่แล้ว

    brother, yaha tak tu thek ha, browser k back button ko handle kaise kry jab use login ho jaye tb back button dissable ho jaye os k bary me guide kr do

    • @itsanilgg
      @itsanilgg  ปีที่แล้ว

      Okay, let me check ✅

    • @itsanilgg
      @itsanilgg  ปีที่แล้ว

      Login ke bad remove kr do all routes to back button disable ho jayega...suppose login->dashboard so jab dashboard pe jaoge tab pushAndRemovedUntil use Kiya to bhi dashboard pe backbutton disable ho jayega

    • @MughalUmar-wk1lo
      @MughalUmar-wk1lo ปีที่แล้ว

      @@itsanilgg Ok I will try.