textShadow method

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

Implementation

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