FdcProgressBarStyle class

Visual style for FdcProgressBar.

The progress bar is intentionally generic and reusable. Dataset/grid code should provide progress state; this style only controls rendering.

Constructors

FdcProgressBarStyle({double? height, BorderRadiusGeometry? borderRadius, Color? trackColor, Color? valueColor, Color? indeterminateValueColor, BoxBorder? backgroundBorder, Duration? animationDuration, bool? reserveSpaceWhenIdle, Duration? visibilityDelay, Duration? pollInterval, FdcProgressBarDisplayMode? displayMode})
Creates a FdcProgressBarStyle.
const

Properties

animationDuration Duration?
Animation duration for value changes and indeterminate movement.
final
backgroundBorder BoxBorder?
Optional border around the progress track.
final
borderRadius BorderRadiusGeometry?
Border radius applied to the track and filled region.
final
displayMode FdcProgressBarDisplayMode?
Visual mode used while dataset work is active.
final
hashCode int
The hash code for this object.
no setteroverride
height double?
Height of the progress track.
final
indeterminateValueColor Color?
Filled color for indeterminate progress.
final
pollInterval Duration?
How often a dataset-aware progress bar polls FdcDataSet.work.progress while work is active. Dataset progress updates do not emit notifications, so polling keeps UI updates throttled and independent from dataset loops.
final
reserveSpaceWhenIdle bool?
Whether the widget should keep its configured footprint while the dataset is idle or while a work operation is waiting for visibilityDelay.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trackColor Color?
Track color behind the progress value.
final
valueColor Color?
Filled color for determinate progress.
final
visibilityDelay Duration?
Delay before the progress bar becomes visually visible after dataset work starts.
final

Methods

copyWith({double? height, BorderRadiusGeometry? borderRadius, Color? trackColor, Color? valueColor, Color? indeterminateValueColor, BoxBorder? backgroundBorder, Duration? animationDuration, bool? reserveSpaceWhenIdle, Duration? visibilityDelay, Duration? pollInterval, FdcProgressBarDisplayMode? displayMode}) FdcProgressBarStyle
Creates a copy with selected values replaced.
merge(FdcProgressBarStyle? override) FdcProgressBarStyle
Returns this style with non-null values from override applied.
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

Static Methods

lerp(FdcProgressBarStyle? a, FdcProgressBarStyle? b, double t) FdcProgressBarStyle
Interpolates between two progress styles for animated theme transitions.

Constants

defaultAnimationDuration → const Duration
Default duration for determinate value transitions and indeterminate motion.
defaultBorderRadius → const double
Default corner radius used to create the pill-shaped track.
defaultDisplayMode → const FdcProgressBarDisplayMode
Default rendering mode used when no style override is supplied.
defaultHeight → const double
Default track height in logical pixels.
defaultPollInterval → const Duration
Default interval for sampling dataset progress while work is active.
defaults → const FdcProgressBarStyle
Fully populated baseline style used for resolution and interpolation.
defaultVisibilityDelay → const Duration
Default delay used to suppress progress UI for short operations.