Platforms
dart
Description
Now your Size interfere with dart:ui Size. It would be good to have your own class. For example:
class ImageSize extends Size {
...
}
Why
It will not confuses the user because Size is just a base object with width and height. You bring your own sense - it is image size (moreover with the additional boolean).