FFShadowToken constructor

FFShadowToken({
  1. FFIdentifier? identifier,
  2. double? blurRadius,
  3. FFColor? color,
  4. double? dx,
  5. double? dy,
  6. double? spreadRadius,
})

Implementation

factory FFShadowToken({
  FFIdentifier? identifier,
  $core.double? blurRadius,
  FFColor? color,
  $core.double? dx,
  $core.double? dy,
  $core.double? spreadRadius,
}) {
  final result = create();
  if (identifier != null) result.identifier = identifier;
  if (blurRadius != null) result.blurRadius = blurRadius;
  if (color != null) result.color = color;
  if (dx != null) result.dx = dx;
  if (dy != null) result.dy = dy;
  if (spreadRadius != null) result.spreadRadius = spreadRadius;
  return result;
}