useShadow method
void
useShadow({})
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,
}) =>
_applyBoxDecorationProperty(
borderRadius: rounded != null
? BorderRadius.all(
Radius.circular(rounded),
)
: null,
boxShadow: [
BoxShadow(
color: color,
offset: offset,
blurRadius: blurRadius,
spreadRadius: spreadRadius,
blurStyle: blurStyle,
),
],
);