WxAnchorStyle.rectangle constructor
WxAnchorStyle.rectangle({
- BorderRadius borderRadius = BorderRadius.zero,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- double? scale,
- double? opacity,
- Color? overlayColor,
- double? overlayOpacity,
- Size? overlayExtent,
- Color? textColor,
- TextStyle? textStyle,
- TextAlign? textAlign,
- Color? iconColor,
- double? iconOpacity,
- 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);