longestSide property

double get longestSide

Return longestSidebased on orietation

Implementation

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