value property Null safety

BoxShadow value
override

Builds attribute into widget propety

Implementation

BoxShadow get value {
  return BoxShadow(
    color: color ?? _defaults.color,
    offset: offset ?? _defaults.offset,
    blurRadius: blurRadius ?? _defaults.blurRadius,
    spreadRadius: spreadRadius ?? _defaults.spreadRadius,
  );
}