SquareButton constructor

SquareButton({
  1. Key? key,
  2. BorderRadiusGeometry? brRadius,
  3. SquareSizeModel? squareSizeModel,
  4. double? borderRadius,
  5. SizeButton size = SizeButton.medium,
  6. Color? borderColor = Colors.transparent,
  7. Color? color = Colors.transparent,
  8. Color? iconColor = Colors.black,
  9. IconData? icon,
  10. double? iconSize,
  11. List<BoxShadow>? shadow,
  12. VoidCallback? onTap,
  13. double? borderWidth,
  14. String? svgIcon,
  15. double? width,
  16. bool? isSvgIcon = false,
  17. bool? hasShadow,
  18. 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});