Browse Source

Merge branches 'dev' and 'master' of https://git.lotus-wallet.com/fmk/huixiang_app

 Conflicts:
	lib/login/login_page.dart
	pubspec.lock
null_safety
fmk 4 years ago
parent
commit
b4c4c16cfd
  1. 1
      lib/article/hot_article_details_page.dart
  2. 6
      lib/home/activity_list_page.dart
  3. 5
      lib/union/store_details_page.dart
  4. 5
      pubspec.yaml

1
lib/article/hot_article_details_page.dart

@ -1,6 +1,7 @@
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:huixiang/generated/l10n.dart'; import 'package:huixiang/generated/l10n.dart';
import 'package:share/share.dart';
class HotArticleDetailsPage extends StatefulWidget { class HotArticleDetailsPage extends StatefulWidget {
@override @override

6
lib/home/activity_list_page.dart

@ -64,6 +64,12 @@ class _ActivityListPage extends State<ActivityListPage>
} }
} }
@override
void dispose() {
super.dispose();
_refreshController.dispose();
}
RefreshController _refreshController = RefreshController(); RefreshController _refreshController = RefreshController();
@override @override

5
lib/union/store_details_page.dart

@ -5,6 +5,7 @@ import 'package:flutter_html/image_render.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:huixiang/view_widget/custom_image.dart'; import 'package:huixiang/view_widget/custom_image.dart';
import 'package:huixiang/view_widget/my_appbar.dart'; import 'package:huixiang/view_widget/my_appbar.dart';
import 'package:share/share.dart';
class StoreDetailsPage extends StatefulWidget { class StoreDetailsPage extends StatefulWidget {
final Map<String, dynamic> arguments; final Map<String, dynamic> arguments;
@ -26,7 +27,9 @@ class _StoreDetailsPage extends State<StoreDetailsPage> {
action: Container( action: Container(
margin: EdgeInsets.only(right: 15), margin: EdgeInsets.only(right: 15),
child: GestureDetector( child: GestureDetector(
onTap: () {}, onTap: () {
Share.share('https://www.sohu.com/a/346415345_99912465');
},
child: Icon( child: Icon(
Icons.share, Icons.share,
size: 24, size: 24,

5
pubspec.yaml

@ -39,6 +39,7 @@ dependencies:
permission_handler: ^5.0.1+1 permission_handler: ^5.0.1+1
amap_flutter_map: ^1.0.0 amap_flutter_map: ^1.0.0
amap_flutter_location: ^2.0.0 # Null safety amap_flutter_location: ^2.0.0 # Null safety
share: ^0.6.1+1
# flutter_baidu_mapapi_search: ^2.0.1 # flutter_baidu_mapapi_search: ^2.0.1
# flutter_baidu_mapapi_map: ^2.0.1 # flutter_baidu_mapapi_map: ^2.0.1
@ -79,13 +80,14 @@ dependencies:
cached_network_image: ^2.0.0 cached_network_image: ^2.0.0
flutter_html: ^1.3.0 #2.1.0 flutter_html: ^1.3.0 #2.1.0
photo_view: ^0.11.1 # photo_view: ^0.11.1
chewie: ^0.12.2 chewie: ^0.12.2
video_player: ^1.0.1 video_player: ^1.0.1
package_info: ^2.0.2 package_info: ^2.0.2
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
@ -93,6 +95,7 @@ dev_dependencies:
build_runner: ^1.11.5 build_runner: ^1.11.5
json_serializable: ^3.5.1 json_serializable: ^3.5.1
flutter: flutter:
uses-material-design: true uses-material-design: true

Loading…
Cancel
Save