ColorFilterGenerator class

The ColorFilterGenerator class to define a Filter which will applied to each color, consists of multiple SubFilters

Constructors

ColorFilterGenerator({required String name, required List<List<double>> filters})

Properties

filters List<List<double>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
matrix List<double>
getter/setter pair
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(Widget child) Widget
Apply filter to given child
buildMatrix() → void
Build matrix of current filter
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
opacity(double value) ColorFilterGenerator
Create new filter from this filter with given opacity
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited