Button constructor

const Button({
  1. Key? key,
  2. String? text,
  3. Widget? child,
  4. required TouchTap? onTap,
  5. bool isCircle = true,
  6. EdgeInsets? paddingInside,
  7. double? radius,
  8. Decoration? decoration,
  9. num? paddingChild,
  10. double? size,
  11. double? sizeH,
  12. IconData? icon,
  13. PrimarySecondary<Color>? color,
  14. num? textSize,
  15. EdgeInsets? paddingOuter,
  16. EdgeInsets? margin,
  17. double? pressedOpacity,
  18. Color? borderColor,
  19. TextStyle? style,
  20. int? touchSpaced,
  21. num? leftR,
  22. num? topB,
})

Implementation

const Button({
  Key? key,
  this.text,
  this.child,
  required this.onTap,
  this.isCircle = true,
  this.paddingInside,
  this.radius,
  this.decoration,
  this.paddingChild,
  this.size,
  this.sizeH,
  this.icon,
  this.color,
  this.textSize,
  this.paddingOuter,
  this.margin,
  this.pressedOpacity,
  this.borderColor,
  this.style,
  this.touchSpaced,
  this.leftR,
  this.topB,
}) : super(key: key);