isValid property

  1. @override
bool isValid
override

Checks if the filter has any effect to apply.

Returns true if either blurX or blurY is greater than zero, false otherwise.

Implementation

@override
bool get isValid {
  return _blurX > 0 || _blurY > 0;
}