Paint constructor Null safety

Paint()

Constructs an empty Paint object with all fields initialized to their defaults.

Implementation

Paint() {
  if (enableDithering) {
    _dither = true;
  }
}