BoxDecoration constructor Null safety
- {Color? color,
- DecorationImage? image,
- ShapeBorder? border,
- BorderRadius? borderRadius,
- List<
BoxShadow> ? boxShadow, - Gradient? gradient,
- BlendMode? backgroundBlendMode,
- BoxShape shape}
Implementation
const factory BoxDecoration(
{final Color? color,
final DecorationImage? image,
final ShapeBorder? border,
final BorderRadius? borderRadius,
final List<BoxShadow>? boxShadow,
final Gradient? gradient,
final BlendMode? backgroundBlendMode,
final BoxShape shape}) = _$BoxDecoration;