Skip to content

Conversation

@AhmedLSayed9
Copy link
Owner

@AhmedLSayed9 AhmedLSayed9 commented Nov 28, 2024

We're removing the assert from updateSelectedIndex method as it'll throw if valueListenable changes but DropdownButton2 is no longer in the tree. We already use _uniqueValueAssert instead, which gets invoked properly inside ValueListenableBuilder.

@AhmedLSayed9 AhmedLSayed9 added the enhancement New feature or request label Nov 28, 2024
@AhmedLSayed9 AhmedLSayed9 merged commit 5a75ba7 into master Nov 28, 2024
1 check passed
@AhmedLSayed9 AhmedLSayed9 deleted the remove_an_assert branch November 28, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants