-
-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
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
setGravity() shouldn't be called on text toasts #303
Comments
I have same problem. Thank you. |
I'm having the same issue. Thanks. |
1 similar comment
I'm having the same issue. Thanks. |
---Original---
From: ***@***.***>
Date: Sat, May 15, 2021 18:07 PM
To: ***@***.***>;
Cc: ***@***.***>;
Subject: Re: [ponnamkarthik/FlutterToast] setGravity() shouldn't be called on text toasts (#303)
I'm having the same issue. Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
ponnamkarthik
added a commit
that referenced
this issue
May 19, 2021
How you fix this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting a warning "setGravity() shouldn't be called on text toasts, the values won't be used".
I am using the latest version of the package.
Fluttertoast.showToast(
msg: "Text here!",
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.BOTTOM,
timeInSecForIosWeb: 1,
backgroundColor: Colors.grey,
textColor: Colors.white,
fontSize: 16.0,
);
The text was updated successfully, but these errors were encountered: