setColorByRadialGradient method

void setColorByRadialGradient({
  1. Vector3? center,
  2. double? radius,
  3. required Color innerColor,
  4. required Color outerColor,
})

Implementation

void setColorByRadialGradient(
    {Vector3? center,
    double? radius,
    required Color innerColor,
    required Color outerColor}) {
  setSubmobjectColorsByRadialGradient(
      innerColor: innerColor,
      outerColor: outerColor,
      radius: radius,
      center: center);
}