Shadow constructor Null safety

const Shadow(
  1. {@Default(Color(0xFF000000)) Color color,
  2. @Default(Offset.zero) Offset offset,
  3. @Default(0.0) double blurRadius}
)

Implementation

const factory Shadow({
  @Default(Color(0xFF000000)) Color color,
  @Default(Offset.zero) Offset offset,
  @Default(0.0) double blurRadius,
}) = _Shadow;