fixed web url

This commit is contained in:
amirrezaghabeli
2025-09-02 15:34:27 +03:30
parent 305598028b
commit 1127ba8365
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ class AppConfig {
// // Handle different platforms for local development // // Handle different platforms for local development
if (kIsWeb) { if (kIsWeb) {
// For web, use localhost // For web, use localhost
return 'http://localhost:8081'; return 'http://localhost:8090';
} else { } else {
// For Android emulator, use 10.0.2.2 (special IP for host machine) // For Android emulator, use 10.0.2.2 (special IP for host machine)
return 'http://10.0.2.2:8081'; return 'http://10.0.2.2:8081';
@@ -130,12 +130,15 @@ class _LoginDesktopPageState extends State<LoginDesktopPage> {
kIsWeb kIsWeb
? Padding( ? Padding(
padding: EdgeInsets.symmetric(vertical: 20.0.h()), padding: EdgeInsets.symmetric(vertical: 20.0.h()),
child: ClipRRect(
borderRadius: BorderRadiusGeometry.circular(32),
child: Image.asset( child: Image.asset(
AssetsManager.webLoginImage, AssetsManager.webLoginImage,
width: 796.0, width: 796.0,
height: 944.0, height: 944.0,
fit: BoxFit.fitWidth, fit: BoxFit.fitWidth,
), ),
),
) )
: Container(), : Container(),
], ],