<itemvalue="A [Comparator] may compare objects as equal (return zero), even if they are distinct objects. The sort function is not guaranteed to be stable, so distinct objects that compare as equal may occur in any order in the result: ```dart final numbers = <String>['one', 'two', 'three', 'four']; numbers.sort((a, b) => a.length.compareTo(b.length)); print(numbers); [one, two, four, three] OR [two, one, four, three]"/>
<itemvalue="The default [List] implementations use [Comparable.compare] if [compare] is omitted. ```dart final numbers = <int>[13, 2, -11, 0]; numbers.sort(); print(numbers); [-11, 0, 2, 13] ``` In that case, the elements of the list must be [Comparable] to each other."/>
<itemvalue="Sorts this list according to the order specified by the [compare] function. The [compare] function must act as a [Comparator]. ```dart final numbers = <String>['two', 'three', 'four']; Sort from shortest to longest. numbers.sort((a, b) => a.length.compareTo(b.length)); print(numbers); [two, four, three]"/>
<itemvalue="Whether this entry occludes the entire overlay. If an entry claims to be opaque, then, for efficiency, the overlay will skip building entries below that entry unless they have [maintainState] set."/>
<itemvalue="A wrapper widget that will recognize the start of a drag operation by looking for a long press event. Once it is recognized, it will start a drag operation on the wrapped item in the reorderable list."/>
<itemvalue="Translucent targets both receive events within their bounds and permit targets visually behind them to also receive events."/>
@ -59,15 +62,12 @@
<itemvalue="To make sure that listeners removed during this iteration are not called, we set them to null, but we don't shrink the list right away. By doing this, we can continue to iterate on our list until it reaches the last listener added before the call to this method. To allow potential listeners to recursively call notifyListener, we track the number of times this method is called in _notificationCallStackDepth. Once every recursive iteration is finished (i.e. when _notificationCallStackDepth == 0), we can safely shrink our list so that it will only contain not null listeners."/>
<itemvalue="Call all the registered listeners. Call this method whenever the object changes, to notify any clients the object may have changed. Listeners that are added during this iteration will not be visited. Listeners that are removed during this iteration will not be visited after they are removed. Exceptions thrown by listeners will be caught and reported using [FlutterError.reportError]. This method must not be called after [dispose] has been called. Surprising behavior can result when reentrantly removing a listener (e.g. in response to a notification) that has been registered multiple times. See the discussion at [removeListener]."/>
<itemvalue="Because this class only notifies listeners when the [value]'s _identity_ changes, listeners will not be notified when mutable state within the value itself changes. For example, a `ValueNotifier<List<int>>` will not notify its listeners when the _contents_ of the list are changed. As a result, this class is best used with only immutable data types. For mutable data types, consider extending [ChangeNotifier] directly."/>
<itemvalue="A [ChangeNotifier] that holds a single value. When [value] is replaced with something that is not equal to the old value as evaluated by the equality operator ==, this class notifies its listeners. Limitations Because this class only notifies listeners when the [value]'s _identity_ changes, listeners will not be notified when mutable state within the value itself changes. For example, a `ValueNotifier<List<int>>` will not notify its listeners when the _contents_ of the list are changed. As a result, this class is best used with only immutable data types. For mutable data types, consider extending [ChangeNotifier] directly."/>
<itemvalue="The current value stored in this notifier. When the value is replaced with something that is not equal to the old value as evaluated by the equality operator ==, this class notifies its listeners."/>
<itemvalue="QOS Level 0 - Message is not guaranteed delivery. No retries are made to ensure delivery is successful."/>