WxTileStyle class

The style to be applied to WxTile widget

Mixed-in types
Annotations

Constructors

WxTileStyle({Axis? direction, EdgeInsetsGeometry? margin, double? spacing, bool? adaptiveSpacing, WxTileAlign? align, WxTileJustify? justify, bool? inline, bool? childWrap})
Create a raw WxTileStyle
const
WxTileStyle.defaults()
Create a WxTileStyle with default value
const
WxTileStyle.from(WxTileStyle? other)
Create a WxTileStyle from another style

Properties

adaptiveSpacing bool?
Determines if spacing should not be enforced between the child and leading/trailing widgets, even when leading/trailing widgets are absent.
final
align WxTileAlign?
How the children should be placed along the cross axis.
final
childWrap bool?
Controls how the child widget fills its available space (expand or wrap content).
final
direction Axis?
The direction to use as the main axis.
final
hashCode int
The hash code for this object.
no setteroverride
inline bool?
Controls whether to minimize or maximize the amount of free space.
final
justify WxTileJustify?
How the children should be placed along the main axis.
final
margin EdgeInsetsGeometry?
Outer space around the widget.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing double?
The gap between the child and the leading/trailing widgets.
final

Methods

copyWith({Axis? direction, EdgeInsetsGeometry? margin, double? spacing, bool? adaptiveSpacing, WxTileAlign? align, WxTileJustify? justify, bool? inline, bool? childWrap}) WxTileStyle
Creates a copy of this WxTileStyle but with the given fields replaced with the new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
merge(WxTileStyle? other) WxTileStyle
Creates a copy of this WxTileStyle but with the given fields replaced with the new values.
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
toMap() Map<String, dynamic>
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.
override

Static Methods

lerp(WxTileStyle? a, WxTileStyle? b, double t) WxTileStyle?
Linearly interpolate between two WxTileStyle objects.