|
|
|
@ -5,7 +5,6 @@ import 'dart:ui';
|
|
|
|
|
|
|
|
|
|
import 'package:flutter/gestures.dart'; |
|
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; |
|
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; |
|
|
|
|
import 'package:huixiang/main.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/data/base_data.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/retrofit_api.dart'; |
|
|
|
@ -18,7 +17,7 @@ import 'package:flutter/services.dart';
|
|
|
|
|
import 'package:huixiang/generated/l10n.dart'; |
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
|
import 'package:dio/dio.dart'; |
|
|
|
|
// import 'package:photo_view/photo_view.dart'; |
|
|
|
|
import 'package:photo_view/photo_view.dart'; |
|
|
|
|
import 'package:shared_preferences/shared_preferences.dart'; |
|
|
|
|
|
|
|
|
|
class LoginPage extends StatefulWidget { |
|
|
|
@ -391,11 +390,11 @@ class _MyLoginPageState extends State<LoginPage> with TickerProviderStateMixin {
|
|
|
|
|
child: Stack( |
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
children: [ |
|
|
|
|
// PhotoView( |
|
|
|
|
// imageProvider: AssetImage("assets/image/laoban.png"), |
|
|
|
|
// initialScale: Platform.isAndroid ? 1.02 : 1.2, |
|
|
|
|
// basePosition: alignmentProgress, |
|
|
|
|
// ), |
|
|
|
|
PhotoView( |
|
|
|
|
imageProvider: AssetImage("assets/image/laoban.png"), |
|
|
|
|
initialScale: Platform.isAndroid ? 1.02 : 1.2, |
|
|
|
|
basePosition: alignmentProgress, |
|
|
|
|
), |
|
|
|
|
Positioned( |
|
|
|
|
top: 54.h, |
|
|
|
|
left: 28.w, |
|
|
|
|