textShadow method

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

Implementation

void textShadow(
    {Color color = const Color(0x33000000),
    double blur = 0.0,
    Offset offset = Offset.zero}) {
  _textModel.textShadow = [
    Shadow(
      color: color,
      blurRadius: blur,
      offset: offset,
    ),
  ];
}