<itemvalue="If the current action is not removing an element, update [_selectedElements] with [defaultData]. Otherwise, keep the previous value of [_selectedElements], preventing it from being updated by [defaultData]. Note: [didUpdateWidget] is called whenever the widget is updated, so it's important to control when [_selectedElements] should be updated. This is also executed if and only if we do not have any elements selected, because in this way we will only have an update if an element is selected after the widget is built. Recommendation: Over time this entire implementation should be migrated to [ValueNotifier], with a singleton abstraction."/>
<itemvalue="If the current action is not removing an element, update [_selectedElements] with [defaultData]. Otherwise, keep the previous value of [_selectedElements], preventing it from being updated by [defaultData]. Note: [didUpdateWidget] is called whenever the widget is updated, so it's important to control when [_selectedElements] should be updated. This is also executed if and only if we do not have any elements selected, because in this way we will only have an update if an element is selected after the widget is built. Recommendation: Over time this entire implementation should be migrated to [ValueNotifier], with a singleton abstraction."/>
<itemvalue="A generic class that standardizes elements for consistent manipulation. The `Choice` class provides a standardized way to handle different types of elements within a list, menu, or selection field. Each instance of `Choice` contains a unique key (`key`), a display value (`value`), and optional metadata of any type, making it highly versatile."/>
<itemvalue="A generic class that standardizes elements for consistent manipulation. The `Choice` class provides a standardized way to handle different types of elements within a list, menu, or selection field. Each instance of `Choice` contains a unique key (`key`), a display value (`value`), and optional metadata of any type, making it highly versatile."/>
<itemvalue="MenuItemButton Style"/>
<itemvalue="MenuItemButton Style"/>
@ -67,7 +68,6 @@
<itemvalue="When item position is not available, because it's too far, the scroll is composed into three phases:"/>
<itemvalue="When item position is not available, because it's too far, the scroll is composed into three phases:"/>
<itemvalue="The [duration] must be greater than 0; otherwise, use [jumpTo]."/>
<itemvalue="The [duration] must be greater than 0; otherwise, use [jumpTo]."/>
<itemvalue="use penetrate"/>
<itemvalue="use penetrate"/>
<itemvalue="Reorderable (drag and drop) version of [Wrap], A widget that displays its children in multiple horizontal or vertical runs. In addition to [Wrap]'s parameters, this widget also adds two parameters, [minMainAxisCount] and [maxMainAxisCount], that limits how many children each run has at least and at most. For example, if the size of parent widget allows a run to have more than [maxMainAxisCount] children, the run is forced to end and will have [maxMainAxisCount] children only. All [children] must have a key. See also: [Wrap], which displays its children in multiple horizontal or vertical runs."/>