From 9445499094a73ca5a413d43ebd50992285676b4c Mon Sep 17 00:00:00 2001 From: i11010520 <86607589+i11010520@users.noreply.github.com> Date: Sun, 24 Aug 2025 20:40:31 +0800 Subject: [PATCH] Update helpers.dart try to eliminate running exception at --wasm mode --- lib/src/helpers/helpers.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/helpers/helpers.dart b/lib/src/helpers/helpers.dart index c2f9822..c5320e9 100644 --- a/lib/src/helpers/helpers.dart +++ b/lib/src/helpers/helpers.dart @@ -2,7 +2,7 @@ import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:responsive_builder/responsive_builder.dart'; -import 'device_width.dart' if (dart.library.js) 'device_width_web.dart' +import 'device_width.dart' if (dart.library.html) 'device_width_web.dart' as width; /// Returns the [DeviceScreenType] that the application is currently running on