|
|
@ -15,7 +15,7 @@ import 'package:huixiang/generated/l10n.dart'; |
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:dio/dio.dart'; |
|
|
|
import 'package:dio/dio.dart'; |
|
|
|
import 'package:huixiang/view_widget/loading_view.dart'; |
|
|
|
import 'package:huixiang/view_widget/loading_view.dart'; |
|
|
|
// import 'package:photo_view/photo_view.dart'; |
|
|
|
import 'package:photo_view/photo_view.dart'; |
|
|
|
import 'package:shared_preferences/shared_preferences.dart'; |
|
|
|
import 'package:shared_preferences/shared_preferences.dart'; |
|
|
|
|
|
|
|
|
|
|
|
class LoginPage extends StatefulWidget { |
|
|
|
class LoginPage extends StatefulWidget { |
|
|
@ -375,11 +375,11 @@ class _MyLoginPageState extends State<LoginPage> with TickerProviderStateMixin { |
|
|
|
child: Stack( |
|
|
|
child: Stack( |
|
|
|
alignment: Alignment.center, |
|
|
|
alignment: Alignment.center, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
// PhotoView( |
|
|
|
PhotoView( |
|
|
|
// imageProvider: AssetImage("assets/image/laoban.png"), |
|
|
|
imageProvider: AssetImage("assets/image/laoban.png"), |
|
|
|
// initialScale: Platform.isAndroid ? 1.02 : 1.2, |
|
|
|
initialScale: Platform.isAndroid ? 1.02 : 1.2, |
|
|
|
// basePosition: alignmentProgress, |
|
|
|
basePosition: alignmentProgress, |
|
|
|
// ), |
|
|
|
), |
|
|
|
Container( |
|
|
|
Container( |
|
|
|
decoration: BoxDecoration( |
|
|
|
decoration: BoxDecoration( |
|
|
|
color: Color(0xFF32A060).withAlpha(changeAlpha), |
|
|
|
color: Color(0xFF32A060).withAlpha(changeAlpha), |
|
|
|