shadow method
Adds a shadow with optional blur and offset.
Implementation
TextStyle shadow(
Color c, {
double blur = 2,
Offset offset = const Offset(1, 1),
}) => copyWith(shadows: [Shadow(color: c, blurRadius: blur, offset: offset)]);
Adds a shadow with optional blur and offset.
TextStyle shadow(
Color c, {
double blur = 2,
Offset offset = const Offset(1, 1),
}) => copyWith(shadows: [Shadow(color: c, blurRadius: blur, offset: offset)]);