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
How do you animate a failed action when the onSubmit process fails. For example calling a webservice?
The text was updated successfully, but these errors were encountered:
Hello @tawani, You have to use a GlobalKey and then call key.currentState!.reset().
final _slideToActKey = GlobalKey<SlideActionState>(); ... Widget build(BuildContext context){ return SlideAction( key: _slideToActKey, ... ); } ... void _onSubmit(){ ... _slideToActKey.currentState!.reset(); }
Sorry, something went wrong.
@juanagu animate failure vs animate success
Hey, great package!
Would love to see the capability of changing the icon on failed action, e.g,. a cross instead of a tick if slide to act fails.
No branches or pull requests
How do you animate a failed action when the onSubmit process fails.
For example calling a webservice?
The text was updated successfully, but these errors were encountered: