I want my body to occupy the entire screen. I've tried using extendBody: true but it seems to do absolutely nothing. Here's the sample code along with a screenshot-
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
home: MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
extendBody: true,
body: Container(
color: Colors.orange,
height: double.infinity,
width: double.infinity,
),
floatingActionButton:
FloatingActionButton(), // This trailing comma makes auto-formatting nicer for build methods.
);
}
}
Screenshot:

I'm running a pixel 3xl avd with android R
