BaseWidget constructor

const BaseWidget({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. double? margin,
  5. double? marginLeft,
  6. double? marginTop,
  7. double? marginRight,
  8. double? marginBottom,
  9. double? padding,
  10. double? paddingLeft,
  11. double? paddingTop,
  12. double? paddingRight,
  13. double? paddingBottom,
  14. Color? backgroundColor,
  15. double? strokeWidth,
  16. Color? strokeColor,
  17. Color? solidColor,
  18. double? radius,
  19. bool? isCircle,
  20. double? leftTopRadius,
  21. double? rightTopRadius,
  22. double? leftBottomRadius,
  23. double? rightBottomRadius,
  24. Widget? childWidget,
  25. Alignment? alignment,
  26. int? gradient,
  27. List<Color>? gradientColorList,
  28. List<double>? gradientColorStops,
  29. Alignment? gradientBegin,
  30. Alignment? gradientEnd,
  31. VoidCallback? onClick,
  32. VoidCallback? onDoubleClick,
  33. VoidCallback? onLongPress,
})

Implementation

const BaseWidget(
    {super.key,
      this.width,
      this.height,
      this.margin,
      this.marginLeft,
      this.marginTop,
      this.marginRight,
      this.marginBottom,
      this.padding,
      this.paddingLeft,
      this.paddingTop,
      this.paddingRight,
      this.paddingBottom,
      this.backgroundColor,
      this.strokeWidth,
      this.strokeColor,
      this.solidColor,
      this.radius,
      this.isCircle,
      this.leftTopRadius,
      this.rightTopRadius,
      this.leftBottomRadius,
      this.rightBottomRadius,
      this.childWidget,
      this.alignment,
      this.gradient,
      this.gradientColorList,
      this.gradientColorStops,
      this.gradientBegin,
      this.gradientEnd,
      this.onClick,
      this.onDoubleClick,
      this.onLongPress});