SpecRowProps class
Spec row component properties.
Displays a label-value pair, commonly used in pricing cards to show specifications like CPU, RAM, Storage, etc.
Constructors
Properties
- fontSize → String?
-
Custom font size (CSS value).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlight → bool
-
Whether to highlight the value with brand/primary color.
When false, uses standard foreground color.
final
- label → String
-
The label text (e.g., "RAM", "Storage", "CPU").
final
- labelColor → String?
-
Custom label color (CSS value). Overrides default.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The value text (e.g., "8GB", "100GB SSD", "4 vCores").
final
- valueColor → String?
-
Custom value color (CSS value). Overrides default and highlight.
final
Methods
-
copyWith(
{String? label, String? value, bool? highlight, String? labelColor, String? valueColor, String? fontSize}) → SpecRowProps -
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.
inherited