Solution :
For Mobile : bool isMobile(BuildContext context) => MediaQuery.of(context).size.width < 650;
For Tabs : bool isTab(BuildContext context) => MediaQuery.of(context).size.width < 1300 && MediaQuery.of(context).size.width >= 650;
For Desktop : bool isDesktop(BuildContext context) => MediaQuery.of(context).size.width >= 1300;