FdcGridProgressStyle class
Placement and text presentation options for dataset progress shown by a grid.
Constructors
- FdcGridProgressStyle({Color? color, Color? backgroundColor, bool? showText, TextStyle? textStyle, double? height, BorderRadiusGeometry? borderRadius, BoxBorder? border})
-
Creates a FdcGridProgressStyle.
const
Properties
- backgroundColor → Color?
-
Track color behind the progress value.
final
- border → BoxBorder?
-
Optional border around the progress track.
final
- borderRadius → BorderRadiusGeometry?
-
Border radius applied to the track and filled region.
final
- color → Color?
-
Filled color for the progress value.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double?
-
Height of the progress track.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showText → bool?
-
Whether textual progress information is rendered with the indicator.
final
- textStyle → TextStyle?
-
Text style used for the progress label.
final
Methods
-
copyWith(
{Color? color, Color? backgroundColor, bool? showText, TextStyle? textStyle, double? height, BorderRadiusGeometry? borderRadius, BoxBorder? border}) → FdcGridProgressStyle - Creates a copy with selected values replaced.
-
lerp(
FdcGridProgressStyle other, double t) → FdcGridProgressStyle - Interpolates between two styles for animated theme transitions.
-
merge(
FdcGridProgressStyle? override) → FdcGridProgressStyle -
Returns this style with non-null values from
overrideapplied. -
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
Constants
- defaultBorderRadius → const double
- Fallback corner radius used when borderRadius is not provided.
- defaultHeight → const double
- Fallback progress-track height used when height is not provided.
- defaults → const FdcGridProgressStyle
- Built-in progress-indicator geometry and label policy used before caller overrides are merged.