IDKitButton constructor

const IDKitButton({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. Color? bgColor,
  5. Color? disableBgColor,
  6. String? backgroundImage,
  7. Decoration? decoration,
  8. Decoration? disableDecoration,
  9. String? title,
  10. String? disableTitle,
  11. String? image,
  12. String? disableImage,
  13. Size? imgSize,
  14. BoxFit? imgFit,
  15. BtnGraphicLayout layout = BtnGraphicLayout.lr,
  16. double? distance,
  17. EdgeInsetsGeometry? margin,
  18. EdgeInsetsGeometry? padding,
  19. TextStyle? style,
  20. TextStyle? disableStyle,
  21. dynamic onTap()?,
  22. bool enable = true,
  23. Stream<bool>? enableStream,
  24. Duration? duration,
})

Implementation

const IDKitButton({
  Key? key,
  this.width,
  this.height,
  this.bgColor,
  this.disableBgColor,
  this.backgroundImage,
  this.decoration,
  this.disableDecoration,
  this.title,
  this.disableTitle,
  this.image,
  this.disableImage,
  this.imgSize,
  this.imgFit,
  this.layout = BtnGraphicLayout.lr,
  this.distance,
  this.margin,
  this.padding,
  this.style,
  this.disableStyle,
  this.onTap,
  this.enable = true,
  this.enableStream,
  this.duration,
}) : super(key: key);