SingButton constructor

const SingButton({
  1. Key? key,
  2. String title = 'SingButton',
  3. TextStyle? titleTextStyle,
  4. Color fillColor = const Color(0xFF19B1F4),
  5. Color? highlightColor,
  6. Color? splashColor,
  7. Size? size,
  8. double elevation = 0,
  9. double highlightElevation = 0,
  10. BorderSide? side,
  11. Color sideColor = Colors.transparent,
  12. double sideWidth = 0.2,
  13. BorderRadiusGeometry? borderRadius,
  14. double? radius,
  15. EdgeInsetsGeometry? padding,
  16. EdgeInsetsGeometry? margin,
  17. VoidCallback? onPressed,
  18. VoidCallback? onLongPress,
})

Implementation

const SingButton({
  super.key,
  this.title = 'SingButton',
  this.titleTextStyle,
  this.fillColor = const Color(0xFF19B1F4),
  this.highlightColor,
  this.splashColor,
  this.size,
  this.elevation = 0,
  this.highlightElevation = 0,
  this.side,
  this.sideColor = Colors.transparent,
  this.sideWidth = 0.2,
  this.borderRadius,
  this.radius,
  this.padding,
  this.margin,
  this.onPressed,
  this.onLongPress,
});