DivStyle constructor
const
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样式表
Implementation
const DivStyle({
this.align,
this.padding,
this.margin,
this.width,
this.height,
this.color,
this.border,
this.radius,
this.image,
this.boxShadow,
this.gradient,
this.clip = Clip.none,
this.mainAlign,
this.mainSize,
this.crossAlign,
});