createPainter method
- VoidCallback onChanged
Creates a DecorationImagePainter for this DecorationImage.
The onChanged
argument will be called whenever the image needs to be
repainted, e.g. because it is loading incrementally or because it is
animated.
Implementation
DecorationImagePainter createPainter(VoidCallback onChanged) {
return _DecorationImagePainter._(this, onChanged);
}