ContainerDecoration constructor

const ContainerDecoration({
  1. Color? backgroundColor,
  2. BorderRadius borderRadius = BorderRadius.zero,
  3. EdgeInsets padding = EdgeInsets.zero,
  4. EdgeInsets margin = EdgeInsets.zero,
  5. BlendMode? backgroundBlendMode,
  6. List<BoxShadow>? boxShadow,
  7. BoxBorder? border,
  8. Gradient? gradient,
  9. InteractiveInkFeatureFactory? splashFactory,
  10. Color? splashColor,
})

Implementation

const ContainerDecoration({
  this.backgroundColor,
  this.borderRadius = BorderRadius.zero,
  this.padding = EdgeInsets.zero,
  this.margin = EdgeInsets.zero,
  this.backgroundBlendMode,
  this.boxShadow,
  this.border,
  this.gradient,
  this.splashFactory,
  this.splashColor,
});