WxAnchorStyle.circle constructor

WxAnchorStyle.circle({
  1. EdgeInsetsGeometry? margin,
  2. EdgeInsetsGeometry? padding,
  3. double? scale,
  4. double? opacity,
  5. Color? overlayColor,
  6. double? overlayOpacity,
  7. double? overlayRadius,
  8. Color? textColor,
  9. TextStyle? textStyle,
  10. TextAlign? textAlign,
  11. Color? iconColor,
  12. double? iconOpacity,
  13. double? iconSize,
})

Create an anchor style with circle shape.

Implementation

WxAnchorStyle.circle({
  this.margin,
  this.padding,
  this.scale,
  this.opacity,
  this.overlayColor,
  this.overlayOpacity,
  double? overlayRadius,
  this.textColor,
  this.textStyle,
  this.textAlign,
  this.iconColor,
  this.iconOpacity,
  this.iconSize,
})  : overlayShape = const CircleBorder(),
      overlayExtent =
          overlayRadius != null ? Size.fromRadius(overlayRadius) : null;