⚗️ Testing desktop layout
This commit is contained in:
@ -1 +1,17 @@
|
||||
const kWideScreenWidth = 640;
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
||||
const kWideScreenWidth = 768;
|
||||
const kWiderScreenWidth = 1024;
|
||||
const kWidescreenWidth = 1280;
|
||||
|
||||
bool isWideScreen(BuildContext context) {
|
||||
return MediaQuery.of(context).size.width > kWideScreenWidth;
|
||||
}
|
||||
|
||||
bool isWiderScreen(BuildContext context) {
|
||||
return MediaQuery.of(context).size.width > kWiderScreenWidth;
|
||||
}
|
||||
|
||||
bool isWidestScreen(BuildContext context) {
|
||||
return MediaQuery.of(context).size.width > kWidescreenWidth;
|
||||
}
|
||||
|
Reference in New Issue
Block a user