gradient static method

BackgroundModel gradient({
  1. String? appId,
  2. RgbModel? fromColor,
  3. RgbModel? toColor,
  4. ShadowModel? withShadow,
  5. StartGradientPosition? startPosition,
  6. EndGradientPosition? endPosition,
})

Implementation

static BackgroundModel gradient({
  String? appId,
  RgbModel? fromColor,
  RgbModel? toColor,
  ShadowModel? withShadow,
  StartGradientPosition? startPosition,
  EndGradientPosition? endPosition,
}) {
  return _construct(
      appId: appId,
      fromColor: fromColor,
      toColor: toColor,
      withShadow: withShadow,
      startPosition: startPosition,
      endPosition: endPosition);
}