clear method

  1. @override
void clear([
  1. Color? c
])
override

Set all of the pixels to the Color c, or all values to 0 if c is not given.

Implementation

@override
void clear([Color? c]) {}