boxShadow static method

BoxShadow boxShadow({
  1. Color? color,
  2. double? blurRadius,
  3. Offset? offset,
})

Implementation

static BoxShadow boxShadow({
  Color? color,
  double? blurRadius,
  Offset? offset,
}) {
  return BoxShadow(
    color: color ?? Colors.black.withOpacity(0.1),
    blurRadius: blurRadius ?? 4.0,
    offset: offset ?? const Offset(0, 2),
  );
}