Style constructor

Style({
  1. bool? visible,
  2. Alignment? alignment,
  3. Dimension? width,
  4. Dimension? height,
  5. EdgeInsets? margin,
  6. EdgeInsets? padding,
  7. double? opacity,
  8. Decoration? foregroundDecoration,
  9. Decoration? backgroundDecoration,
  10. List<ShapeShadow>? shadows,
  11. List<ShapeShadow>? insetShadows,
  12. MorphableShapeBorder? shapeBorder,
  13. SmoothMatrix4? transform,
  14. Alignment? transformAlignment,
  15. Alignment? childAlignment,
  16. DynamicTextStyle? textStyle,
  17. TextAlign? textAlign,
  18. Gradient? shaderGradient,
  19. ImageFilter? imageFilter,
  20. ImageFilter? backdropFilter,
  21. SystemMouseCursor? mouseCursor,
})

Implementation

Style({
  this.visible,
  this.alignment,
  this.width,
  this.height,
  this.margin,
  this.padding,
  this.opacity,
  this.foregroundDecoration,
  this.backgroundDecoration,
  this.shadows,
  this.insetShadows,
  this.shapeBorder,
  this.transform,
  this.transformAlignment,
  this.childAlignment,
  this.textStyle,
  this.textAlign,
  this.shaderGradient,
  this.imageFilter,
  this.backdropFilter,
  this.mouseCursor,
});