Skip to content

[Regression] [Android] Failed to swtich SystemUIMode from immersiveSticky to edgeToEdge in Flutter 3.44.0 #186723

@bggRGjQaUbCoE

Description

@bggRGjQaUbCoE

Steps to reproduce

  1. Call SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky)
  2. Call SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge)

Expected results

SystemBar shows when calling SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge)

Actual results

SystemBar is still hidden when calling SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge)

Code sample

Code sample
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MaterialApp(home: DemoPage()));
}

class DemoPage extends StatelessWidget {
  const DemoPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Demo')),
      body: Center(
        child: Column(
          spacing: 20,
          mainAxisSize: .min,
          children: [
            FilledButton.tonal(
              onPressed: () {
                SystemChrome.setEnabledSystemUIMode(.immersiveSticky);
              },
              child: const Text('immersiveSticky'),
            ),
            FilledButton.tonal(
              onPressed: () {
                SystemChrome.setEnabledSystemUIMode(.edgeToEdge);
              },
              child: const Text('edgeToEdge'),
            ),
          ],
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
Flutter 3.41.9 Flutter 3.44.0
Image Image

Logs

Logs
no error log

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.44.0, on Microsoft Windows [版本 10.0.26200.8457], locale zh-CN)
[✓] Windows Version (Windows 11 or higher, 25H2, 2009)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[✗] Chrome - develop for the web (Cannot find Chrome executable at
    .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2026 18.2.1)
[✓] Connected device (2 available)
[✓] Network resources

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: regressionIt was better in the past than it is nowengineflutter/engine related. See also e: labels.found in release: 3.41Found to occur in 3.41found in release: 3.44Found to occur in 3.44has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions