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
If you want to be able to do a SlidableAction you can't because it takes in raw strings and IconData:
SlidableAction( label: StringsResource.systemRemove, // String backgroundColor: colors.eventLevel4, icon: icons.delete, // IconData onPressed: (context) async { await maybeOnDeleteDevice(); }, ),
Instead our buttonBuilder should be
AsyncButtonBuilder<T>( value: T, loadingValue: T, builder: (context, T value, _, __) { // ... }, )
We can do an internal check to see if the type is a Widget and provide defaults such as loading widgets etc.
I'm not sure on this though I'll let it settle in my mind.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you want to be able to do a SlidableAction you can't because it takes in raw strings and IconData:
Instead our buttonBuilder should be
We can do an internal check to see if the type is a Widget and provide defaults such as loading widgets etc.
I'm not sure on this though I'll let it settle in my mind.
The text was updated successfully, but these errors were encountered: