OptimusCircleLoaderVariant class

Implementers
Annotations
  • @freezed

Constructors

OptimusCircleLoaderVariant.determinate(double progress)
Use this option if the progress can be precisely measured, calculated, or otherwise determined against the specific action. The value shows the progress of the operation ranging from 0 to 100 until it is finished.
const
factory
OptimusCircleLoaderVariant.indeterminate()
The default option represents the progress that cannot be precisely calculated or otherwise determined.
const
factory

Properties

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

Methods

map<TResult extends Object?>({required TResult indeterminate(Indeterminate value), required TResult determinate(Determinate value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? indeterminate(Indeterminate value)?, TResult? determinate(Determinate value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult indeterminate(Indeterminate value)?, TResult determinate(Determinate value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult indeterminate()?, TResult determinate(double progress)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult indeterminate(), required TResult determinate(double progress)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? indeterminate()?, TResult? determinate(double progress)?}) → TResult?
inherited

Operators

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