BoxDecoration constructor

const BoxDecoration({
  1. Color? color,
  2. BorderRadius? borderRadius,
  3. Border? border,
  4. List<BoxShadow> boxShadow = const [],
})

Creates a box decoration.

Implementation

const BoxDecoration(
    {this.color, this.borderRadius, this.border, this.boxShadow = const []});