configuration property Null safety
The settings to pass to the decoration when painting, so that it can resolve images appropriately. See ImageProvider.resolve and BoxPainter.paint.
The ImageConfiguration.textDirection field is also used by direction-sensitive Decorations for painting and hit-testing.
Implementation
ImageConfiguration get configuration => _configuration;
Implementation
set configuration(ImageConfiguration value) {
assert(value != null);
if (value == _configuration) {
return;
}
_configuration = value;
markNeedsPaint();
}