Browse Source

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

 Conflicts:
	pubspec.yaml
null_safety
fmk 4 years ago
parent
commit
3c37679fc9
  1. 6
      lib/home/points_mall_page.dart
  2. 2
      lib/main.dart
  3. 6
      lib/mine/coupons_page.dart
  4. 13
      lib/mine/manage_address_page.dart
  5. 6
      lib/mine/mine_card_invalid_page.dart
  6. 1
      pubspec.yaml

6
lib/home/points_mall_page.dart

@ -47,6 +47,12 @@ class _PointsMallPage extends State<PointsMallPage>
S.current.jifendidaogao, S.current.jifendidaogao,
]; ];
@override
void dispose() {
super.dispose();
_refreshController.dispose();
}
@override @override
void initState() { void initState() {
super.initState(); super.initState();

2
lib/main.dart

@ -147,7 +147,7 @@ class MyApp extends StatelessWidget {
data: MediaQuery.of(context).copyWith( data: MediaQuery.of(context).copyWith(
textScaleFactor: textScaleFactor > 1.15 ? 1.15 : textScaleFactor, textScaleFactor: textScaleFactor > 1.15 ? 1.15 : textScaleFactor,
), ),
child: FlutterSmartDialog(child: widget), child: FlutterSmartDialog(child:widget),
); );
}, },
onGenerateRoute: (settings) { onGenerateRoute: (settings) {

6
lib/mine/coupons_page.dart

@ -27,6 +27,12 @@ class _CouponsPage extends State<CouponsPage> {
ApiService apiService; ApiService apiService;
RefreshController _refreshController; RefreshController _refreshController;
@override
void dispose() {
super.dispose();
_refreshController.dispose();
}
@override @override
void initState() { void initState() {
super.initState(); super.initState();

13
lib/mine/manage_address_page.dart

@ -256,11 +256,14 @@ class _ManageAddressPage extends State<ManageAddressPage> {
), ),
), ),
InkWell( InkWell(
child: Text( child: Padding(
"删除", padding: EdgeInsets.only(top:5,),
style: TextStyle( child: Text(
fontSize: 16, "删除",
color: Colors.black, style: TextStyle(
fontSize: 16,
color: Colors.black,
),
), ),
), ),
onTap: () { onTap: () {

6
lib/mine/mine_card_invalid_page.dart

@ -23,6 +23,12 @@ class _MineCardInvalidPage extends State<MineCardInvalidPage> {
ApiService apiService; ApiService apiService;
@override
void dispose() {
super.dispose();
_refreshController.dispose();
}
@override @override
void initState() { void initState() {
super.initState(); super.initState();

1
pubspec.yaml

@ -93,7 +93,6 @@ dependencies:
package_info: ^2.0.2 package_info: ^2.0.2
sharesdk_plugin: ^1.3.0 sharesdk_plugin: ^1.3.0
# jshare_flutter_plugin: ^2.1.2
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:

Loading…
Cancel
Save