buildFilter method

  1. @override
void buildFilter()
override

(Internal usage) Builds the filter and sets its properties.

This method is called whenever the filter needs to be rebuilt, such as when its properties are changed. It sets the filter quality to medium, enables anti-aliasing to then updates the filter's properties.

Implementation

@override
void buildFilter() {
  paint.filterQuality = FilterQuality.medium;
  paint.isAntiAlias = true;
  _updateProperties();
}