Did you know?
With Flutter web, you can redirect the user to an external page by changing the window href property.
Very handy for checkout pages (e.g. Stripe).
Note that dart:html can't be imported if you're targeting mobile or desktop.
To work around that, you can use conditional imports.
More info here: 👇
Found this useful? Show some love and share the original tweet 🙏
Previous | Next |
---|---|
VSCode Quick Fix: Create constructor for final fields, required named | Fetching vs Mutating data with Riverpod |