Filter.invert constructor

const Filter.invert([
  1. double percentage
])

Creates an invert filter function that inverts the colors of the input image.

Implementation

const factory Filter.invert([double percentage]) = _InvertFilter;