SolidColor constructor Null safety

const SolidColor(
  1. Color color
)

Implementation

const SolidColor(this.color)
    : assert(color != null),
      super(ZowieColorType.solid);