useShadow method

void useShadow({
  1. Color color = const Color(0xFF000000),
  2. Offset offset = Offset.zero,
  3. double blurRadius = 0.0,
  4. double spreadRadius = 0.0,
  5. BlurStyle blurStyle = BlurStyle.normal,
  6. double? rounded,
})

Implementation

void useShadow({
  Color color = const Color(0xFF000000),
  Offset offset = Offset.zero,
  double blurRadius = 0.0,
  double spreadRadius = 0.0,
  BlurStyle blurStyle = BlurStyle.normal,
  double? rounded,
}) =>
    $parent
      ..useShadow(
        color: color,
        offset: offset,
        blurRadius: blurRadius,
        spreadRadius: spreadRadius,
        blurStyle: blurStyle,
        rounded: rounded,
      );