DivStyle constructor

const DivStyle({
  1. AlignmentGeometry? align,
  2. List<double>? padding,
  3. List<double>? margin,
  4. double? width,
  5. double? height,
  6. Color? color,
  7. BoxBorder? border,
  8. BorderRadius? radius,
  9. DecorationImage? image,
  10. List<BoxShadow>? boxShadow,
  11. Gradient? gradient,
  12. Clip clip = Clip.none,
  13. MainAxisAlignment? mainAlign,
  14. MainAxisSize? mainSize,
  15. 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,
});