ImageFilter class Null safety
A filter operation to apply to a raster image.
See also:
- BackdropFilter, a widget that applies ImageFilter to its rendering.
- ImageFiltered, a widget that applies ImageFilter to its children.
- SceneBuilder.pushBackdropFilter, which is the low-level API for using this class as a backdrop filter.
- SceneBuilder.pushImageFilter, which is the low-level API for using this class as a child layer filter.
- Implementers
Constructors
- ImageFilter.blur({double sigmaX = 0.0, double sigmaY = 0.0, TileMode tileMode = TileMode.clamp})
-
Creates an image filter that applies a Gaussian blur.
factory
- ImageFilter.compose({required ImageFilter outer, required ImageFilter inner})
-
Composes the
inner
filter withouter
, to combine their effects.factory - ImageFilter.dilate({double radiusX = 0.0, 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.
factory
- ImageFilter.erode({double radiusX = 0.0, double radiusY = 0.0})
-
Create a filter that erodes each input pixel's channel values
to the minimum channel value within the given radii along the x and y axes.
factory
- ImageFilter.matrix(Float64List matrix4, {FilterQuality filterQuality = FilterQuality.low})
-
Creates an image filter that applies a matrix transformation.
factory
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited