Filter.opacity constructor

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

Creates an opacity filter function that applies transparency to the samples in the input image

Implementation

const factory Filter.opacity([double percentage]) = _OpacityFilter;