fixed web url
This commit is contained in:
@@ -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(),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user