ImageFilter.dilate constructor Null safety

ImageFilter.dilate(
  1. {double radiusX = 0.0,
  2. double radiusY = 0.0}
)

Creates an image filter that dilates each input pixel's channel values to the max value within the given radii along the x and y axes.

Implementation

factory ImageFilter.dilate({ double radiusX = 0.0, double radiusY = 0.0 }) {
  assert(radiusX != null);
  assert(radiusY != null);
  return _DilateImageFilter(radiusX: radiusX, radiusY: radiusY);
}