textShadow method

T textShadow({
  1. Color color = const Color(0x34000000),
  2. double blurRadius = 0.0,
  3. Offset offset = Offset.zero,
})

Implementation

T textShadow({
  final Color color = const Color(0x34000000),
  final double blurRadius = 0.0,
  final Offset offset = Offset.zero,
}) =>
    copyWith(
      style: (style ?? const TextStyle()).copyWith(
        shadows: <Shadow>[Shadow(color: color, blurRadius: blurRadius, offset: offset)],
      ),
    ) as T;