ImageFilter.compose constructor
- required ImageFilter outer,
- required ImageFilter inner,
Composes the inner
filter with outer
, to combine their effects.
Creates a single ImageFilter that when applied, has the same effect as
subsequently applying inner
and outer
, i.e.,
result = outer(inner(source)).
Implementation
factory ImageFilter.compose({ required ImageFilter outer, required ImageFilter inner }) {
return _ComposeImageFilter(innerFilter: inner, outerFilter: outer);
}