errorStateDuration property
The duration of the error state. Defaults to 1 second.
If the duration is set to null
, the error state will be displayed
forever. If the duration is set to Duration.zero
, the error state
will be displayed for one frame.
Implementation
final Duration? errorStateDuration;