isPortrait property Null safety

bool isPortrait

Implementation

bool get isPortrait => rotation == 90 || rotation == 270;