DataListSpec class

Resolved visual values for a RemixDataList.

Geometry scalars stay null here and default to zero at render time; the unopinionated Remix renderer carries no Radix metrics such as the 120 px label minimum. Orientation is deliberately not part of the spec: it is semantic layout behavior owned by the RemixDataList constructor, so styles cannot override it.

Implemented types
Annotations
  • @MixableSpec.new(target: RemixDataList.new, extraStylerMixins: [RemixBoxStylerMixin])

Constructors

DataListSpec({StyleSpec<BoxSpec>? container, StyleSpec<BoxSpec>? labelContainer, StyleSpec<BoxSpec>? valueContainer, StyleSpec<TextSpec>? label, StyleSpec<TextSpec>? value, double? rowSpacing, double? columnSpacing, double? labelValueSpacing, double? minLabelWidth})
const

Properties

columnSpacing double?
Directional horizontal gap between the label and value columns.
final
container StyleSpec<BoxSpec>
final
hashCode int
The hash code for this object.
no setterinherited
label StyleSpec<TextSpec>
final
labelContainer StyleSpec<BoxSpec>
final
labelValueSpacing double?
Inner vertical gap between label and value in vertical orientation.
final
minLabelWidth double?
Minimum width of the shared horizontal label column.
final
props List<Object?>
The properties based on which equality and hash code are computed.
no setterinherited
rowSpacing double?
Gap between items along the list's main axis.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
Whether to use a detailed string representation of the object.
no setterinherited
type Type
no setterinherited
value StyleSpec<TextSpec>
final
valueContainer StyleSpec<BoxSpec>
final

Methods

copyWith({StyleSpec<BoxSpec>? container, StyleSpec<BoxSpec>? labelContainer, StyleSpec<BoxSpec>? valueContainer, StyleSpec<TextSpec>? label, StyleSpec<TextSpec>? value, double? rowSpacing, double? columnSpacing, double? labelValueSpacing, double? minLabelWidth}) DataListSpec
Creates a copy of this spec with the given fields replaced by the non-null parameter values.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
getDiff(Equatable other) Map<String, String>
Returns a map of properties that differ between this object and another.
inherited
lerp(covariant DataListSpec? other, double t) DataListSpec
Linearly interpolates with another Spec object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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