edgeToEdge property

bool edgeToEdge
final

Whether to enable edge-to-edge rendering on this screen.

When true, calls SystemChrome.setEnabledSystemUIMode with SystemUiMode.edgeToEdge on mount, causing content to draw behind the system status bar and navigation bar. Restores the previous UI mode on dispose.

Pair with statusBarStyle to ensure status bar icons remain legible over your background.

Defaults to false.

Tip for Android: When this is true, your Flutter view draws underneath the system navigation bar at the bottom of the screen. Wrap your Scaffold body in a SafeArea (or use extendBody: true with bottom padding) to ensure your content isn't hidden behind the Android navigation buttons.

Implementation

final bool edgeToEdge;