Answers for "flutter how to get height and width of screen"

0

flutter how to get height and width of screen

@override
  Widget build(BuildContext context) {
    
    double width = MediaQuery.of(context).size.width;
    double height = MediaQuery.of(context).size.height;
    
    
    return Container();
  }
Posted by: Guest on April-21-2022

Code answers related to "flutter how to get height and width of screen"

Code answers related to "Dart"

Browse Popular Code Answers by Language