FFTextShadow constructor

FFTextShadow({
  1. FFValue? color,
  2. FFValue? dx,
  3. FFValue? dy,
  4. FFValue? blurRadius,
})

Implementation

factory FFTextShadow({
  FFValue? color,
  FFValue? dx,
  FFValue? dy,
  FFValue? blurRadius,
}) {
  final result = create();
  if (color != null) result.color = color;
  if (dx != null) result.dx = dx;
  if (dy != null) result.dy = dy;
  if (blurRadius != null) result.blurRadius = blurRadius;
  return result;
}