DecoratorBoxStyle class

Constructors

DecoratorBoxStyle({BorderType borderType = BorderType.none, BorderRadius borderRadius = BorderRadius.zero, BorderSide borderSide = const BorderSide(), Widget? header, Widget? footer, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center, Color? fillColor, List<BoxShadow>? boxShadow, Gradient? gradient})
const

Properties

borderRadius BorderRadius
边框圆角
final
borderSide BorderSide
边框样式
final
borderType BorderType
边框类型
final
boxShadow List<BoxShadow>?
TextField 阴影
final
crossAxisAlignment CrossAxisAlignment
TextFieldouteroutermost 对齐方式
final
fillColor Color?
TextField 填充色
final
final
gradient Gradient?
TextField 渐变色
final
hashCode int
The hash code for this object.
no setterinherited
TextField 头部和尾部挂件
final
margin EdgeInsetsGeometry?
仅作用于 TextField
final
padding EdgeInsetsGeometry?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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