SuperContainer constructor

const SuperContainer({
  1. Key? key,
  2. Widget? child,
  3. VoidCallback? onTap,
  4. VoidCallback? onLongPress,
  5. double radius = 0,
  6. EdgeInsetsGeometry? padding,
  7. bool disabled = false,
  8. double? opacity,
  9. double? width,
  10. EdgeInsetsGeometry? margin,
  11. double? height,
  12. Color? color,
  13. AlignmentGeometry? align,
  14. double shadow = 0,
  15. Color shadowColor = const Color(0x10000000),
  16. double shadowRadius = 0,
  17. Color borderColor = Colors.transparent,
  18. double borderWidth = 0.0,
  19. BoxFit bgImgFit = BoxFit.contain,
  20. String? bgImgName,
  21. BorderRadius? borderRadius,
  22. Border? border,
  23. BoxConstraints? constraints,
  24. Gradient? gradient,
  25. Color? foregroundColor,
})

Implementation

const SuperContainer(
    {super.key,
      this.child,
      this.onTap,
      this.onLongPress,
      this.radius = 0,
      this.padding,
      this.disabled = false,
      this.opacity,
      this.width,
      this.margin,
      this.height,
      this.color,
      this.align,
      this.shadow = 0,
      this.shadowColor = const Color(0x10000000),
      this.shadowRadius = 0,
      this.borderColor = Colors.transparent,
      this.borderWidth = 0.0,
      this.bgImgFit = BoxFit.contain,
      this.bgImgName,
      this.borderRadius,
      this.border,
      this.constraints,
      this.gradient,
      this.foregroundColor});