WxAnchorStyle.rectangle constructor

WxAnchorStyle.rectangle({
  1. BorderRadius borderRadius = BorderRadius.zero,
  2. EdgeInsetsGeometry? margin,
  3. EdgeInsetsGeometry? padding,
  4. double? scale,
  5. double? opacity,
  6. Color? overlayColor,
  7. double? overlayOpacity,
  8. Size? overlayExtent,
  9. Color? textColor,
  10. TextStyle? textStyle,
  11. TextAlign? textAlign,
  12. Color? iconColor,
  13. double? iconOpacity,
  14. double? iconSize,
})

Create an anchor style with rectangle shape.

Implementation

WxAnchorStyle.rectangle({
  BorderRadius borderRadius = BorderRadius.zero,
  this.margin,
  this.padding,
  this.scale,
  this.opacity,
  this.overlayColor,
  this.overlayOpacity,
  this.overlayExtent,
  this.textColor,
  this.textStyle,
  this.textAlign,
  this.iconColor,
  this.iconOpacity,
  this.iconSize,
}) : overlayShape = RoundedRectangleBorder(borderRadius: borderRadius);