repeat property Null safety

ImageRepeat repeat

How to repeat this image if it doesn't fill its layout bounds.

Implementation

ImageRepeat get repeat => _repeat;
void repeat=(ImageRepeat value)

Implementation

set repeat(ImageRepeat value) {
  assert(value != null);
  if (value == _repeat) {
    return;
  }
  _repeat = value;
  markNeedsPaint();
}