BoxDecoration constructor
const
BoxDecoration({
- String? color,
- LinearGradient? gradient,
- Border? border,
- double borderRadius = 0,
- BoxShape shape = BoxShape.rectangle,
BoxDecoration API.
Implementation
const BoxDecoration({
this.color,
this.gradient,
this.border,
this.borderRadius = 0,
this.shape = BoxShape.rectangle,
});