PanelDecoration constructor
const
PanelDecoration({
- Border? border,
- BorderRadiusGeometry? borderRadius,
- List<
BoxShadow> boxShadows = const <BoxShadow>[BoxShadow(blurRadius: 8.0, color: Color.fromRGBO(0, 0, 0, 0.25))], - Color? backgroundColor,
- EdgeInsets? padding,
- EdgeInsets? margin,
- Gradient? gradient,
- DecorationImage? image,
- BlendMode? backgroundBlendMode,
Implementation
const PanelDecoration({
this.border,
this.borderRadius,
this.boxShadows = const <BoxShadow>[
BoxShadow(
blurRadius: 8.0,
color: Color.fromRGBO(0, 0, 0, 0.25),
),
],
this.backgroundColor,
this.padding,
this.margin,
this.gradient,
this.image,
this.backgroundBlendMode,
});