longestSide property
double
get
longestSide
Return longestSidebased on orietation
Implementation
double get longestSide => MediaQuery.of(this).size.longestSide;
Return longestSidebased on orietation
double get longestSide => MediaQuery.of(this).size.longestSide;