ContainerDecoration constructor
const
ContainerDecoration({
- Color? backgroundColor,
- BorderRadius borderRadius = BorderRadius.zero,
- EdgeInsets padding = EdgeInsets.zero,
- EdgeInsets margin = EdgeInsets.zero,
- BlendMode? backgroundBlendMode,
- List<
BoxShadow> ? boxShadow, - BoxBorder? border,
- Gradient? gradient,
- InteractiveInkFeatureFactory? splashFactory,
- 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,
});