fix(chat): use stock Navigator Back at every screen width
This commit is contained in:
@@ -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,
|
||||
);
|
||||
Reference in New Issue
Block a user