size property
Get the recommended image size
Returns
- The recommended image size as (width, height)
Implementation
Size get size {
final OperationResult resultString = objectMethod(
_pointerId,
'ImgFlutter',
'getSize',
);
final Map<String, dynamic> decodedVal = resultString['result'];
return Size(decodedVal['first'] + 0.0, decodedVal['second'] + 0.0);
}