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