textShadows property

List<Shadow> get textShadows

For TextStyle.shadows.

Implementation

List<Shadow> get textShadows => [
  for (final o in layerOpacities)
    Shadow(
      color: Color(scrim.scrimArgb).withValues(alpha: o),
      blurRadius: blurRadius,
    ),
];