DivStyle class

Mixed-in types
Annotations

Constructors

DivStyle({AlignmentGeometry? align, List<double>? padding, List<double>? margin, double? width, double? height, Color? color, BoxBorder? border, BorderRadius? radius, DecorationImage? image, List<BoxShadow>? boxShadow, Gradient? gradient, Clip clip = Clip.none, MainAxisAlignment? mainAlign, MainAxisSize? mainSize, CrossAxisAlignment? crossAlign})
Div样式表
const

Properties

align AlignmentGeometry?
final
border BoxBorder?
final
boxShadow List<BoxShadow>?
final
clip Clip
final
color Color?
final
crossAlign CrossAxisAlignment?
final
gradient Gradient?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
image DecorationImage?
final
mainAlign MainAxisAlignment?
final
mainSize MainAxisSize?
final
margin List<double>?
final
padding List<double>?
final
radius BorderRadius?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double?
final

Methods

copyWith({AlignmentGeometry? align, List<double>? padding, List<double>? margin, double? width, double? height, Color? color, BoxBorder? border, BorderRadius? radius, DecorationImage? image, List<BoxShadow>? boxShadow, Gradient? gradient, Clip? clip, MainAxisAlignment? mainAlign, MainAxisSize? mainSize, CrossAxisAlignment? crossAlign}) DivStyle
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
merge(DivStyle? other) DivStyle
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