TileStyle class

The style to be applied to Tile widget

Mixed in types
Annotations

Constructors

TileStyle({Axis? direction, EdgeInsetsGeometry? margin, double? spacing, bool? spacingEnforced, CrossAxisAlignment? crossAxisAlignment, MainAxisAlignment? mainAxisAlignment, bool? mainAxisExpanded, bool? childExpanded})
Create a raw TileStyle
const
TileStyle.from(TileStyle? other)
Create a TileStyle from another style

Properties

childExpanded bool?
final
crossAxisAlignment CrossAxisAlignment?
final
direction Axis?
final
hashCode int
The hash code for this object.
no setteroverride
mainAxisAlignment MainAxisAlignment?
final
mainAxisExpanded bool?
final
margin EdgeInsetsGeometry?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing double?
final
spacingEnforced bool?
final

Methods

copyWith({Axis? direction, EdgeInsetsGeometry? margin, double? spacing, bool? spacingEnforced, CrossAxisAlignment? crossAxisAlignment, MainAxisAlignment? mainAxisAlignment, bool? mainAxisExpanded, bool? childExpanded}) TileStyle
Creates a copy of this TileStyle but with the given fields replaced with the new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
merge(TileStyle? other) TileStyle
Creates a copy of this TileStyle 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(TileStyle? a, TileStyle? b, double t) TileStyle?
Linearly interpolate between two TileStyle objects.