RefreshType class

  • nonPriorityDebounced:

    • This option only allows refreshing one future at a time — with the precondition being there is no refresh already happening.
    • All future nonPriorityDebounced and nonPriorityUnfiltered refresh requests are discarded as long as the current one has not completed.
    • "Debounced" indicates the process of filtering out noise.
  • nonPriorityUnfiltered:

    • This option only allows refreshing one future at a time — with the precondition being there is no refresh already happening.
    • All future nonPriorityDebounced and nonPriorityUnfiltered refresh requests are discarded as long as the current one has not completed.
    • Unlike nonPriorityDebounced, if one of priorityDebounced or priorityUnfiltered are called while the future is in progress, the FutureWidget will display the value for a short amount of time, before being replaced by the value/exception emitted by later invoked, completed future. "Unfiltered" indicates the absence of such a filtering process.
  • priorityDebounced:

    • It has higher priority than non-priority refreshes.
    • This option allows multiple refreshes, but debounces the refreshes to prevent rebuilds in quick succession.
  • priorityUnfiltered:

    • It has higher priority than non-priority refreshes.
    • This option allows immediate rebuilds in quick succession: it doesn't debounce the refreshes; instead, it triggers a rebuild immediately after a refresh is requested.
Annotations

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override