GradientDrawable constructor Null safety

GradientDrawable(
  1. {GradientDrawableOrientation? orientation,
  2. List<String>? colors}
)

Implementation

GradientDrawable({
  this.orientation,
  this.colors,
});