getBackgroundRadialGradient method
Widget
getBackgroundRadialGradient(
- BackgroundGradientType? type, {
- AlignmentGeometry? center,
- double? radius,
- List<
double> ? stops, - List<
double> ? opacities, - TileMode? tileMode,
- AlignmentGeometry? focal,
- double? focalRadius,
- 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);
}