Update deep linking bootstrap and flet dependency ref

Replaces manual route logging with FletDeepLinkingBootstrap.install() in main.dart for improved deep linking support. Updates the flet dependency git ref to 'deep-linking-fix-2' in pubspec.yaml.
This commit is contained in:
Feodor Fitsner 2025-12-22 17:28:34 -08:00
parent fdd629228d
commit a3a8d4b3f4
2 changed files with 2 additions and 13 deletions

View File

@ -67,20 +67,9 @@ String assetsDir = "";
String appDir = "";
Map<String, String> environmentVariables = {};
class RouteLogger with WidgetsBindingObserver {
@override
Future<bool> didPushRouteInformation(
RouteInformation routeInformation,
) async {
debugPrint('📩 routeInformation: ${routeInformation.uri}');
return false; // return true only if YOU handled it and don't want default handling
}
}
void main(List<String> args) async {
WidgetsFlutterBinding.ensureInitialized();
WidgetsBinding.instance.addObserver(RouteLogger());
FletDeepLinkingBootstrap.install();
_args = List<String>.from(args);

View File

@ -37,7 +37,7 @@ dependency_overrides:
flet:
git:
path: packages/flet
ref: deep-linking-fix
ref: deep-linking-fix-2
url: https://github.com/flet-dev/flet.git
# serious_python: