applyContrast method
Adds a contrast filter effect.
value must be between 0 and 100%.
Implementation
Filter applyContrast(double value) {
value = value.clamp(0, 100);
_filters.add(
BackdropFilterType.contrast.cssText(.percent(value)),
);
return this;
}