|
|
|
|
|
|
} |
|
|
|
|
|
|
|
void _resolveImage() { |
|
|
|
Type genericType = widget.image.GetType().GetGenericArguments()[0]; |
|
|
|
ScrollAwareImageProvider<genericType> provider = new ScrollAwareImageProvider<genericType>( |
|
|
|
/*ScrollAwareImageProvider<object> provider = new ScrollAwareImageProvider<object>( |
|
|
|
imageProvider: widget.image); |
|
|
|
imageProvider: widget.image);*/ |
|
|
|
provider.resolve(ImageUtils.createLocalImageConfiguration( |
|
|
|
widget.image.resolve(ImageUtils.createLocalImageConfiguration( |
|
|
|
context: context, |
|
|
|
widget.width != null && widget.height != null |
|
|
|
? new Size(width: widget.width.Value, height: widget.height.Value) |
|
|
|