ContainerPlus constructor

ContainerPlus({
  1. Key? key,
  2. double? height,
  3. double? width,
  4. Color? color = Colors.transparent,
  5. Widget? child,
  6. EdgeInsets padding = EdgeInsets.zero,
  7. EdgeInsets? margin = EdgeInsets.zero,
  8. DecorationImage? image,
  9. Alignment? alignment,
  10. BlendMode? backgroundBlendMode,
  11. BoxConstraints? boxConstraints,
  12. bool isCenter = false,
  13. bool isExpanded = false,
  14. bool isCircle = false,
  15. dynamic onPanUpdate(
    1. DragUpdateDetails
    )?,
  16. dynamic onPanStart(
    1. DragStartDetails
    )?,
  17. dynamic onPanEnd(
    1. DragEndDetails
    )?,
  18. dynamic onPanDown(
    1. DragDownDetails
    )?,
  19. dynamic onPanCancel()?,
  20. dynamic onTap()?,
  21. dynamic onTapDown(
    1. TapDownDetails
    )?,
  22. dynamic onTapUp(
    1. TapUpDetails
    )?,
  23. dynamic onTapCancel()?,
  24. dynamic onDoubleTap()?,
  25. dynamic onLongPress()?,
  26. dynamic notifyParent(
    1. Size?,
    2. Offset?
    )?,
  27. SkeletonPlus? skeleton,
  28. RadiusPlus? radius,
  29. BorderPlus? border,
  30. GradientPlus? gradient,
  31. List<ShadowPlus>? shadows,
  32. 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);