ContainerPlus constructor
ContainerPlus({
- Key? key,
- double? height,
- double? width,
- Color? color = Colors.transparent,
- Widget? child,
- EdgeInsets padding = EdgeInsets.zero,
- EdgeInsets? margin = EdgeInsets.zero,
- DecorationImage? image,
- Alignment? alignment,
- BlendMode? backgroundBlendMode,
- BoxConstraints? boxConstraints,
- bool isCenter = false,
- bool isExpanded = false,
- bool isCircle = false,
- dynamic onPanUpdate()?,
- dynamic onPanStart()?,
- dynamic onPanEnd()?,
- dynamic onPanDown()?,
- dynamic onPanCancel()?,
- dynamic onTap()?,
- dynamic onTapDown()?,
- dynamic onTapUp()?,
- dynamic onTapCancel()?,
- dynamic onDoubleTap()?,
- dynamic onLongPress()?,
- dynamic notifyParent()?,
- SkeletonPlus? skeleton,
- RadiusPlus? radius,
- BorderPlus? border,
- GradientPlus? gradient,
- List<
ShadowPlus> ? shadows, - List<
InnerShadowPlus> ? innerShadows,
Implementation
ContainerPlus({
Key? key,
this.height,
this.width,
this.color = Colors.transparent,
this.child,
this.padding = EdgeInsets.zero,
this.margin = EdgeInsets.zero,
this.image,
this.alignment,
this.backgroundBlendMode,
this.boxConstraints,
this.isCenter = false,
this.isExpanded = false,
this.isCircle = false,
//functions
this.onPanUpdate,
this.onPanStart,
this.onPanEnd,
this.onPanDown,
this.onPanCancel,
this.onTap,
this.onTapDown,
this.onTapUp,
this.onTapCancel,
this.onDoubleTap,
this.onLongPress,
this.notifyParent,
// Plus
this.skeleton,
this.radius,
this.border,
this.gradient,
this.shadows,
this.innerShadows,
}) : super(key: key);