diff --git a/lib/main.dart b/lib/main.dart index 18b4096..6c39e21 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -97,7 +97,7 @@ class MainPage extends StatelessWidget { class SpinContent extends StatelessWidget { const SpinContent({super.key}); - @override + web_browser_detect@override Widget build(BuildContext context) { return BlocBuilder( builder: (context, state) { diff --git a/pubspec.lock b/pubspec.lock index bbc34c4..cb1dc9d 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -388,10 +388,10 @@ packages: dependency: "direct main" description: name: mobile_scanner - sha256: cf978740676ba5b0c17399baf117984b31190bb7a6eaa43e51229ed46abc42ee + sha256: "2fbc3914fe625e196c64ea8ffc4084cd36781d2be276d4d5923b11af3b5d44ff" url: "https://pub.dev" source: hosted - version: "3.5.2" + version: "3.4.1" nested: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 5b77d5a..b5771cf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -20,7 +20,7 @@ dependencies: sdk: flutter http: ^1.0.0 js: ^0.6.0 - mobile_scanner: ^3.0.0 + mobile_scanner: ">=3.4.0<3.5.0" provider: ^6.0.0 web_browser_detect: ^2.0.0