SuperContainer constructor
const
SuperContainer({
- Key? key,
- Widget? child,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- double radius = 0,
- EdgeInsetsGeometry? padding,
- bool disabled = false,
- double? opacity,
- double? width,
- EdgeInsetsGeometry? margin,
- double? height,
- Color? color,
- AlignmentGeometry? align,
- double shadow = 0,
- Color shadowColor = const Color(0x10000000),
- double shadowRadius = 0,
- Color borderColor = Colors.transparent,
- double borderWidth = 0.0,
- BoxFit bgImgFit = BoxFit.contain,
- String? bgImgName,
- BorderRadius? borderRadius,
- Border? border,
- BoxConstraints? constraints,
- Gradient? gradient,
- 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});