withShadow method
Sets text shadows.
Implementation
TextStyle withShadow({
Color color = Colors.black38,
double blurRadius = 2.0,
Offset offset = const Offset(1, 1),
}) {
return copyWith(shadows: [
Shadow(color: color, blurRadius: blurRadius, offset: offset),
]);
}