diff --git a/lib/responsive.dart b/lib/responsive.dart index 33545cd8..b64a6859 100644 --- a/lib/responsive.dart +++ b/lib/responsive.dart @@ -28,15 +28,15 @@ class Responsive extends StatelessWidget { @override Widget build(BuildContext context) { final Size _size = MediaQuery.of(context).size; - // If our width is more than 1100 then we consider it a desktop + // If our width is more than 1100 then we consider it as a desktop if (_size.width >= 1100) { return desktop; } - // If width it less then 1100 and more then 850 we consider it as tablet + // If width is less than 1100 and greater than 850 we consider it as a tablet else if (_size.width >= 850 && tablet != null) { return tablet!; } - // Or less then that we called it mobile + // Anything less than that we consider it as a mobile else { return mobile; }