fix(chat): use stock Navigator Back at every screen width

This commit is contained in:
2026-10-24 12:36:17 +01:00
parent 0ecd4a8487
commit f22afabd94
16 changed files with 262 additions and 53 deletions
+9
View File
@@ -0,0 +1,9 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
/// Find the platform's actual Back control, not an app-specific button key.
Finder findNativeBack() => find.byWidgetPredicate(
(widget) =>
widget is BackButton || widget is CupertinoNavigationBarBackButton,
);