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
This is a bug from ai_recipe_generation presented at Google I/O 2024
When you press Submit Prompt button the IconLoadingAnimator show an error: Unsupported operation: removeAt
This error occurs because it's trying to remove an element from a constant list
currentIcon = notYetSeenIcons.removeAt(rand.nextInt(notYetSeenIcons.length));
child: IconLoadingAnimator( icons: const [ Symbols.icecream, Symbols.local_pizza, Symbols.restaurant_menu, Symbols.egg, Symbols.bakery_dining, Symbols.skillet, Symbols.nutrition, Symbols.grocery, Symbols.set_meal, Icons.egg_alt, Symbols.oven, Icons.dinner_dining, Icons.outdoor_grill, Icons.cookie, Icons.blender, Symbols.stockpot, ], ),
cc: @domesticmouse @ericwindmill
The text was updated successfully, but these errors were encountered:
PR #2302
Sorry, something went wrong.
Fixups (#2310)
0cfd119
Fixes #2301 --------- Co-authored-by: Brett Morgan <[email protected]> Co-authored-by: Brett Morgan <[email protected]>
Thanks!
Successfully merging a pull request may close this issue.
This is a bug from ai_recipe_generation presented at Google I/O 2024
When you press Submit Prompt button the IconLoadingAnimator show an error: Unsupported operation: removeAt
This error occurs because it's trying to remove an element from a constant list
currentIcon = notYetSeenIcons.removeAt(rand.nextInt(notYetSeenIcons.length));
child: IconLoadingAnimator( icons: const [ Symbols.icecream, Symbols.local_pizza, Symbols.restaurant_menu, Symbols.egg, Symbols.bakery_dining, Symbols.skillet, Symbols.nutrition, Symbols.grocery, Symbols.set_meal, Icons.egg_alt, Symbols.oven, Icons.dinner_dining, Icons.outdoor_grill, Icons.cookie, Icons.blender, Symbols.stockpot, ], ),
cc: @domesticmouse @ericwindmill
The text was updated successfully, but these errors were encountered: