We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My application runs on the web and can be used normally when debugging in a local browser. However, after compiling and distributing the version using
flutter build web release web extender canvas tree share icons
it cannot be used.
The text was updated successfully, but these errors were encountered:
This is my usage:
enum ToastPosition { top, bottom, center, topLeft, topRight, bottomLeft, bottomFight, centerLeft, centerRight, snackbar, none, } static showToast(String text, {ToastPosition position = ToastPosition.bottom}) async { if (!kIsWeb) { await Fluttertoast.cancel(); } await Fluttertoast.showToast( gravity: ToastGravity.values[position.index], msg: text, backgroundColor: const Color.fromARGB(128, 50, 50, 50), textColor: Colors.white, webBgColor: "rgb(128 128 128 / 0.5)", webPosition: "center", webShowClose: false, timeInSecForIosWeb: 1, ); }
Sorry, something went wrong.
No branches or pull requests
My application runs on the web and can be used normally when debugging in a local browser. However, after compiling and distributing the version using
it cannot be used.
The text was updated successfully, but these errors were encountered: