shadow method

Text shadow(
  1. Color color, {
  2. Offset offset = Offset.zero,
  3. double blur = 0,
})

Implementation

Text shadow(Color color, {Offset offset = Offset.zero, double blur = 0}) {
  return copyWith(
    style: style.copyWith(
      shadows: [
        Shadow(
          color: color,
          offset: offset,
          blurRadius: blur,
        )
      ],
    ),
  );
}