getScreenSize method
Implementation
@override
Future<Size> getScreenSize(BuildContext? context) async {
var width = web.window.screen.width;
var height = web.window.screen.height;
return Size(width.toDouble(), height.toDouble());
}
@override
Future<Size> getScreenSize(BuildContext? context) async {
var width = web.window.screen.width;
var height = web.window.screen.height;
return Size(width.toDouble(), height.toDouble());
}