PanelDecoration constructor

const PanelDecoration({
  1. Border? border,
  2. BorderRadiusGeometry? borderRadius,
  3. List<BoxShadow> boxShadows = const <BoxShadow>[BoxShadow(blurRadius: 8.0, color: Color.fromRGBO(0, 0, 0, 0.25))],
  4. Color? backgroundColor,
  5. EdgeInsets? padding,
  6. EdgeInsets? margin,
  7. Gradient? gradient,
  8. DecorationImage? image,
  9. 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,
});