SquareButton constructor
SquareButton({
- Key? key,
- BorderRadiusGeometry? brRadius,
- SquareSizeModel? squareSizeModel,
- double? borderRadius,
- SizeButton size = SizeButton.medium,
- Color? borderColor = Colors.transparent,
- Color? color = Colors.transparent,
- Color? iconColor = Colors.black,
- IconData? icon,
- double? iconSize,
- List<
BoxShadow> ? shadow, - VoidCallback? onTap,
- double? borderWidth,
- String? svgIcon,
- double? width,
- bool? isSvgIcon = false,
- bool? hasShadow,
- Widget? child,
Implementation
SquareButton(
{super.key,
this.brRadius,
this.squareSizeModel,
this.borderRadius,
this.size = SizeButton.medium,
this.borderColor = Colors.transparent,
this.color = Colors.transparent,
this.iconColor = Colors.black,
this.icon,
this.iconSize,
this.shadow,
this.onTap,
this.borderWidth,
this.svgIcon,
this.width,
this.isSvgIcon = false,
this.hasShadow,
this.child});