getBackgroundRadialGradient method

Widget getBackgroundRadialGradient(
  1. BackgroundGradientType? type, {
  2. AlignmentGeometry? center,
  3. double? radius,
  4. List<double>? stops,
  5. List<double>? opacities,
  6. TileMode? tileMode,
  7. AlignmentGeometry? focal,
  8. double? focalRadius,
  9. GradientTransform? transform,
})

Implementation

Widget getBackgroundRadialGradient(
    BackgroundGradientType? type,
    {
      AlignmentGeometry? center,
      double? radius,
      List<double>? stops,
      List<double>? opacities,
      TileMode? tileMode,
      AlignmentGeometry? focal,
      double? focalRadius,
      GradientTransform? transform
    }
  ) {
  return isDarkModeEnabled
      ? _darkThemeGroup.backgroundRadialGradient(type, center, radius, stops, opacities, tileMode, focal, focalRadius, transform)
      : _lightThemeGroup.backgroundRadialGradient(type, center, radius, stops, opacities, tileMode, focal, focalRadius, transform);
}