GPUContrastFilter constructor

GPUContrastFilter({
  1. double? contrast,
})

contrast value ranges from 0.0 to 4.0, with 1.0 as the normal level

对比度值范围为0.0到4.0,正常值为1.0

Implementation

GPUContrastFilter({this.contrast}) {
  type = "contrast";
}