shortestSide property

double get shortestSide

Return shortestSidebased on orietation

Implementation

double get shortestSide => MediaQuery.of(this).size.shortestSide;