DataListStyler class
- Inheritance
-
- Object
- Mixable<
StyleSpec< DataListSpec> > - Mix<
StyleSpec< DataListSpec> > - Style<
DataListSpec> - MixStyler<
DataListStyler, DataListSpec> - DataListStyler
- Implemented types
- Mixed-in types
- Available extensions
Constructors
-
DataListStyler({BoxStyler? container, BoxStyler? labelContainer, BoxStyler? valueContainer, TextStyler? label, TextStyler? value, double? rowSpacing, double? columnSpacing, double? labelValueSpacing, double? minLabelWidth, AnimationConfig? animation, WidgetModifierConfig? modifier, List<
VariantStyle< ? variants})DataListSpec> > - DataListStyler.alignment(AlignmentGeometry value)
-
factory
-
DataListStyler.backgroundImage(ImageProvider<
Object> image, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat}) -
factory
- DataListStyler.backgroundImageAsset(String path, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat})
-
factory
- DataListStyler.backgroundImageUrl(String url, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat})
-
factory
-
DataListStyler.border(BoxBorderMix<
BoxBorder> value) -
factory
-
DataListStyler.borderRadius(BorderRadiusGeometryMix<
BorderRadiusGeometry> value) -
factory
- DataListStyler.clipBehavior(Clip value)
-
factory
- DataListStyler.color(Color value)
-
factory
- DataListStyler.columnSpacing(double value)
-
factory
- DataListStyler.constraints(BoxConstraintsMix value)
-
factory
- DataListStyler.container(BoxStyler value)
-
factory
-
DataListStyler.create({Prop<
StyleSpec< ? container, Prop<BoxSpec> >StyleSpec< ? labelContainer, Prop<BoxSpec> >StyleSpec< ? valueContainer, Prop<BoxSpec> >StyleSpec< ? label, Prop<TextSpec> >StyleSpec< ? value, Prop<TextSpec> >double> ? rowSpacing, Prop<double> ? columnSpacing, Prop<double> ? labelValueSpacing, Prop<double> ? minLabelWidth, List<VariantStyle< ? variants, WidgetModifierConfig? modifier, AnimationConfig? animation})DataListSpec> > -
const
-
DataListStyler.decoration(DecorationMix<
Decoration> value) -
factory
- DataListStyler.elevation(ElevationShadow value)
-
factory
-
DataListStyler.foregroundDecoration(DecorationMix<
Decoration> value) -
factory
-
DataListStyler.foregroundLinearGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) -
factory
-
DataListStyler.foregroundRadialGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform}) -
factory
-
DataListStyler.foregroundSweepGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform}) -
factory
-
DataListStyler.gradient(GradientMix<
Gradient> value) -
factory
- DataListStyler.height(double value)
-
factory
- DataListStyler.image(DecorationImageMix value)
-
factory
- DataListStyler.label(TextStyler value)
-
factory
- DataListStyler.labelContainer(BoxStyler value)
-
factory
- DataListStyler.labelValueSpacing(double value)
-
factory
-
DataListStyler.linearGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) -
factory
-
DataListStyler.margin(EdgeInsetsGeometryMix<
EdgeInsetsGeometry> value) -
factory
- DataListStyler.maxHeight(double value)
-
factory
- DataListStyler.maxWidth(double value)
-
factory
- DataListStyler.minHeight(double value)
-
factory
- DataListStyler.minLabelWidth(double value)
-
factory
- DataListStyler.minWidth(double value)
-
factory
-
DataListStyler.padding(EdgeInsetsGeometryMix<
EdgeInsetsGeometry> value) -
factory
-
DataListStyler.radialGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform}) -
factory
- DataListStyler.rotate(double radians, {Alignment alignment = .center})
-
factory
- DataListStyler.rowSpacing(double value)
-
factory
- DataListStyler.scale(double scale, {Alignment alignment = .center})
-
factory
- DataListStyler.shadow(BoxShadowMix value)
-
factory
-
DataListStyler.shadows(List<
BoxShadowMix> value) -
factory
-
DataListStyler.shape(ShapeBorderMix<
ShapeBorder> value) -
factory
- DataListStyler.size(double width, double height)
-
factory
- DataListStyler.skew(double skewX, double skewY)
-
factory
-
DataListStyler.sweepGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform}) -
factory
- DataListStyler.textStyle(TextStyler value)
-
factory
- DataListStyler.transform(Matrix4 value, {Alignment alignment = .center})
-
factory
- DataListStyler.translate(double x, double y, [double z = 0.0])
-
factory
- DataListStyler.value(TextStyler value)
-
factory
- DataListStyler.valueContainer(BoxStyler value)
-
factory
- DataListStyler.width(double value)
-
factory
Properties
- $animation → AnimationConfig?
-
finalinherited
-
$columnSpacing
→ Prop<
double> ? -
final
-
$container
→ Prop<
StyleSpec< ?BoxSpec> > -
final
-
$label
→ Prop<
StyleSpec< ?TextSpec> > -
final
-
$labelContainer
→ Prop<
StyleSpec< ?BoxSpec> > -
final
-
$labelValueSpacing
→ Prop<
double> ? -
final
-
$minLabelWidth
→ Prop<
double> ? -
final
- $modifier → WidgetModifierConfig?
-
finalinherited
-
$rowSpacing
→ Prop<
double> ? -
final
-
$stylerFieldNames
→ Set<
String> -
Names of every field represented by the Styler's Mix.props.
no setteroverride
-
$value
→ Prop<
StyleSpec< ?TextSpec> > -
final
-
$valueContainer
→ Prop<
StyleSpec< ?BoxSpec> > -
final
-
$variants
→ List<
VariantStyle< ?DataListSpec> > -
finalinherited
- hashCode → int
-
Overrides the hash code getter to compute hash code based on properties.
no setterinherited
- mergeKey → Object
-
Default implementation uses runtimeType as the merge key
no setterinherited
-
props
→ List<
Object?> -
The properties based on which equality and hash code are computed.
no setteroverride
- 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
Methods
-
alignment(
AlignmentGeometry value) → DataListStyler -
animate(
AnimationConfig value) → DataListStyler -
Sets the animation configuration.
override
-
applyVariants(
Iterable< NamedVariant> variantsToApply) → DataListStyler -
Applies the specified named variants by merging their styles into this style.
inherited
-
backgroundImage(
ImageProvider< Object> image, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat}) → DataListStyler -
backgroundImageAsset(
String path, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat}) → DataListStyler -
backgroundImageUrl(
String url, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat}) → DataListStyler -
border(
BoxBorderMix< BoxBorder> value) → DataListStyler -
override
-
borderRadius(
BorderRadiusGeometryMix< BorderRadiusGeometry> value) → DataListStyler -
override
-
build(
BuildContext context, {Set< NamedVariant> namedVariants = const {}}) → StyleSpec<DataListSpec> -
Builds the style into a fully resolved spec with metadata.
inherited
-
call(
{Key? key, required List< RemixDataListItem> items, Axis orientation = Axis.horizontal, String? semanticLabel, bool excludeSemantics = false}) → RemixDataList -
clipBehavior(
Clip value) → DataListStyler -
color(
Color value) → DataListStyler -
columnSpacing(
double value) → DataListStyler - Sets the columnSpacing.
-
constraints(
BoxConstraintsMix value) → DataListStyler -
override
-
container(
BoxStyler value) → DataListStyler - Sets the container.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
decoration(
DecorationMix< Decoration> value) → DataListStyler -
override
-
elevation(
ElevationShadow value) → DataListStyler -
foregroundDecoration(
DecorationMix< Decoration> value) → DataListStyler -
foregroundLinearGradient(
{required List< Color> colors, List<double> ? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) → DataListStyler -
foregroundRadialGradient(
{required List< Color> colors, List<double> ? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform}) → DataListStyler -
foregroundSweepGradient(
{required List< Color> colors, List<double> ? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform}) → DataListStyler -
getDiff(
Equatable other) → Map< String, String> -
Returns a map of properties that differ between this object and another.
inherited
-
gradient(
GradientMix< Gradient> value) → DataListStyler -
height(
double value) → DataListStyler -
image(
DecorationImageMix value) → DataListStyler -
keyframeAnimation(
{Listenable? trigger, required List< KeyframeTrack> timeline, required KeyframeStyleBuilder<DataListSpec, DataListStyler> styleBuilder}) → DataListStyler -
Creates a keyframe animation. It will animate through the given timeline.
inherited
-
label(
TextStyler value) → DataListStyler - Sets the label.
-
labelColor(
Color color) → DataListStyler -
Available on DataListStyler, provided by the RemixDataListStylerRemixHelpers extension
Sets the label text color. -
labelContainer(
BoxStyler value) → DataListStyler - Sets the labelContainer.
-
labelTextStyle(
TextStyleMix style) → DataListStyler -
Available on DataListStyler, provided by the RemixDataListStylerRemixHelpers extension
Sets the label text style. -
labelValueSpacing(
double value) → DataListStyler - Sets the labelValueSpacing.
-
linearGradient(
{required List< Color> colors, List<double> ? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) → DataListStyler -
margin(
EdgeInsetsGeometryMix< EdgeInsetsGeometry> value) → DataListStyler -
override
-
maxHeight(
double value) → DataListStyler -
maxWidth(
double value) → DataListStyler -
merge(
covariant DataListStyler? other) → DataListStyler -
Merges with another DataListStyler.
override
-
mergeActiveVariants(
BuildContext context, {required Set< NamedVariant> namedVariants}) → Style<DataListSpec> -
Merges all active variants with their nested variants recursively.
inherited
-
minHeight(
double value) → DataListStyler -
minLabelWidth(
double value) → DataListStyler - Sets the minLabelWidth.
-
minWidth(
double value) → DataListStyler -
modifier(
WidgetModifierConfig value) → DataListStyler - Sets the widget modifier.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAndroid(
DataListStyler style) → DataListStyler -
Creates a variant for Android platform.
inherited
-
onBreakpoint(
Breakpoint breakpoint, DataListStyler style) → DataListStyler -
Creates a variant based on the specified breakpoint.
inherited
-
onBuilder(
DataListStyler fn(BuildContext context)) → DataListStyler -
Creates a variant using a builder function that receives the build context.
inherited
-
onDark(
DataListStyler style) → DataListStyler -
Creates a variant for dark mode.
inherited
-
onDesktop(
DataListStyler style) → DataListStyler -
Creates a variant for desktop breakpoint.
inherited
-
onDisabled(
DataListStyler style) → DataListStyler -
Creates a variant for disabled state
inherited
-
onEnabled(
DataListStyler style) → DataListStyler -
Creates a variant for enabled state (opposite of disabled)
inherited
-
onFocused(
DataListStyler style) → DataListStyler -
Creates a variant for focused state.
inherited
-
onFocusVisible(
DataListStyler style) → DataListStyler -
Creates a variant for focus that should show a focus indicator.
inherited
-
onFuchsia(
DataListStyler style) → DataListStyler -
Creates a variant for Fuchsia platform.
inherited
-
onHovered(
DataListStyler style) → DataListStyler -
Creates a variant for hover state
inherited
-
onIos(
DataListStyler style) → DataListStyler -
Creates a variant for iOS platform.
inherited
-
onLandscape(
DataListStyler style) → DataListStyler -
Creates a variant for landscape device orientation.
inherited
-
onLight(
DataListStyler style) → DataListStyler -
Creates a variant for light mode.
inherited
-
onLinux(
DataListStyler style) → DataListStyler -
Creates a variant for Linux platform.
inherited
-
onLtr(
DataListStyler style) → DataListStyler -
Creates a variant for left-to-right text direction.
inherited
-
onMacos(
DataListStyler style) → DataListStyler -
Creates a variant for macOS platform.
inherited
-
onMobile(
DataListStyler style) → DataListStyler -
Creates a variant for mobile breakpoint.
inherited
-
onNot(
ContextVariant contextVariant, DataListStyler style) → DataListStyler -
Creates a variant for when the context does NOT match the provided variant.
inherited
-
onPortrait(
DataListStyler style) → DataListStyler -
Creates a variant for portrait device orientation.
inherited
-
onPressed(
DataListStyler style) → DataListStyler -
Creates a variant for pressed state
inherited
-
onRtl(
DataListStyler style) → DataListStyler -
Creates a variant for right-to-left text direction.
inherited
-
onTablet(
DataListStyler style) → DataListStyler -
Creates a variant for tablet breakpoint.
inherited
-
onWeb(
DataListStyler style) → DataListStyler -
Creates a variant for web platform.
inherited
-
onWindows(
DataListStyler style) → DataListStyler -
Creates a variant for Windows platform.
inherited
-
padding(
EdgeInsetsGeometryMix< EdgeInsetsGeometry> value) → DataListStyler -
override
-
phaseAnimation<
P> ({Listenable? trigger, required List< P> phases, required DataListStyler styleBuilder(P phase, DataListStyler style), required CurveAnimationConfig configBuilder(P phase)}) → DataListStyler -
Creates a phase animation. It will animate through the given phases.
inherited
-
radialGradient(
{required List< Color> colors, List<double> ? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform}) → DataListStyler -
resolve(
BuildContext context) → StyleSpec< DataListSpec> -
Resolves to StyleSpec<DataListSpec> using
context.override -
rotate(
double radians, {Alignment alignment = .center}) → DataListStyler -
rowSpacing(
double value) → DataListStyler - Sets the rowSpacing.
-
scale(
double scale, {Alignment alignment = .center}) → DataListStyler -
shadow(
BoxShadowMix value) → DataListStyler -
shadows(
List< BoxShadowMix> value) → DataListStyler -
shape(
ShapeBorderMix< ShapeBorder> value) → DataListStyler -
override
-
size(
double width, double height) → DataListStyler -
skew(
double skewX, double skewY) → DataListStyler -
sweepGradient(
{required List< Color> colors, List<double> ? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform}) → DataListStyler -
textStyle(
TextStyler value) → DataListStyler -
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
-
transform(
Matrix4 value, {Alignment alignment = .center}) → DataListStyler -
override
-
translate(
double x, double y, [double z = 0.0]) → DataListStyler -
value(
TextStyler value) → DataListStyler - Sets the value.
-
valueColor(
Color color) → DataListStyler -
Available on DataListStyler, provided by the RemixDataListStylerRemixHelpers extension
Sets the value text color. -
valueContainer(
BoxStyler value) → DataListStyler - Sets the valueContainer.
-
valueTextStyle(
TextStyleMix style) → DataListStyler -
Available on DataListStyler, provided by the RemixDataListStylerRemixHelpers extension
Sets the value text style. -
variant(
Variant variant, DataListStyler style) → DataListStyler -
Must be implemented by the class using this mixin
inherited
-
variants(
List< VariantStyle< value) → DataListStylerDataListSpec> > -
Sets the style variants.
override
-
width(
double value) → DataListStyler -
wrap(
WidgetModifierConfig value) → DataListStyler -
Wraps with a widget modifier.
override
Operators
-
operator ==(
Object other) → bool -
Overrides the equality operator to compare based on the properties.
inherited