VxCapsule constructor

VxCapsule({
  1. Key? key,
  2. Widget? child,
  3. Color? backgroundColor,
  4. double? width,
  5. double? height,
  6. BoxBorder? border,
  7. BoxDecoration? customDecoration,
  8. Gradient? gradient,
  9. DecorationImage? backgroundImage,
  10. BlendMode? blendMode,
  11. List<BoxShadow>? shadows,
})

Creates a capsule that represents a shape.

Implementation

VxCapsule({
  super.key,
  this.child,
  this.backgroundColor,
  this.width,
  this.height,
  this.border,
  this.customDecoration,
  this.gradient,
  this.backgroundImage,
  this.blendMode,
  this.shadows,
}) {
  setChildForShadow(this);
}