ImageFiltered constructor

const ImageFiltered(
  1. {Key key,
  2. @required ImageFilter imageFilter,
  3. Widget child}
)

Creates a widget that applies an ImageFilter to its child.

The imageFilter must not be null.

Implementation

const ImageFiltered({
  Key key,
  @required this.imageFilter,
  Widget child,
}) : assert(imageFilter != null),
     super(key: key, child: child);