ParentStyle class

Constructors

ParentStyle.new({AngleFormat angleFormat = AngleFormat.cycles})

Properties

alignment AlignmentModel
final
alignmentContent AlignmentModel
final
angleFormat AngleFormat
final
background BackgroundModel
final
constraints BoxConstraints?
no setter
decoration BoxDecoration?
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transform Matrix4?
no setter

Methods

angleToRadians(double value, AngleFormat angleFormat) double
border({double? all, double? left, double? right, double? top, double? bottom, Color color = const Color(0xFF000000), BorderStyle style = BorderStyle.solid}) → void
borderRadius({double? all, double? topLeft, double? topRight, double? bottomLeft, double? bottomRight}) → void
boxShadow({Color color = const Color(0x33000000), double blur = 0.0, Offset offset = Offset.zero, double spread = 0.0}) → void
circle([dynamic enable = true]) → void
height(double height) → void
linearGradient({AlignmentGeometry begin = Alignment.centerLeft, AlignmentGeometry end = Alignment.centerRight, required List<Color> colors, TileMode tileMode = TileMode.clamp, List<double>? stops}) → void
margin({double? all, double? horizontal, double? vertical, double? top, double? bottom, double? left, double? right}) → void
maxHeight(double height) → void
maxWidth(double width) → void
minHeight(double height) → void
minWidth(double width) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offset(double dx, double dy) → void
opacity(double opacity) → void
padding({double? all, double? horizontal, double? vertical, double? top, double? bottom, double? left, double? right}) → void
radialGradient({AlignmentGeometry center = Alignment.center, required double radius, required List<Color> colors, TileMode tileMode = TileMode.clamp, List<double>? stops}) → void
ripple(bool enable, {Color? splashColor, Color? highlightColor}) → void
rotate(double angle) → void
scale(double ratio) → void
sweepGradient({AlignmentGeometry center = Alignment.center, double startAngle = 0.0, required double endAngle, required List<Color> colors, TileMode tileMode = TileMode.clamp, List<double>? stops}) → void
toString() String
A string representation of this object.
inherited
width(double width) → void

Operators

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