ImageFilterConfig.compose constructor

const ImageFilterConfig.compose({
  1. required ImageFilterConfig outer,
  2. required ImageFilterConfig inner,
})

Composes the inner filter configuration with outer, to combine their effects.

Creates a single ImageFilterConfig that when applied, has the same effect as subsequently applying inner and outer, i.e., result = outer(inner(source)).

Implementation

const factory ImageFilterConfig.compose({
  required ImageFilterConfig outer,
  required ImageFilterConfig inner,
}) = _ComposeImageFilterConfig;