Skip to content

Commit c9ca2cc

Browse files
committed
fix
1 parent 3a517d5 commit c9ca2cc

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
lines changed

example/android/local.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
flutter.buildMode=debug
22
flutter.sdk=/Users/Yau/softSdk/3.fvm/versions/3.35.5
3-
sdk.dir=/Users/Yau/softSdk/1.Android
3+
sdk.dir=/Users/Yau/softSdk/1.Android
4+
flutter.versionName=1.3.6

example/lib/main.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ class _MyAppState extends State<MyApp> {
5454
timeInSecForIosWeb: 1,
5555
backgroundColor: Colors.red,
5656
textColor: Colors.white,
57-
fontSize: 16.0
58-
);
57+
fontSize: 16.0);
5958
return Future.value(false);
6059
}, // look here!
6160
child: MaterialApp(

example/lib/my_home_page.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import 'package:flutter/foundation.dart';
77
import 'package:flutter/material.dart';
88
import 'package:fluttertoast/fluttertoast.dart';
99

10-
1110
class MyHomePage extends StatefulWidget {
1211
const MyHomePage({Key? key}) : super(key: key);
1312

@@ -121,8 +120,7 @@ class MyHomePageState extends State<MyHomePage> with WidgetsBindingObserver {
121120
timeInSecForIosWeb: 1,
122121
backgroundColor: Colors.red,
123122
textColor: Colors.white,
124-
fontSize: 16.0
125-
);
123+
fontSize: 16.0);
126124
setState(() {
127125
status = onEvent.toString();
128126
});

example/pubspec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: ali_auth_example
22
description: Demonstrates how to use the ali_auth plugin.
3+
version: 1.3.6
4+
homepage: https://github.com/CodeGather/flutter_ali_auth
5+
repository: https://github.com/CodeGather/flutter_ali_auth/tree/master/example
36

47
# The following line prevents the package from being accidentally published to
58
# pub.dev using `flutter pub publish`. This is preferred for private packages.

lib/ali_auth_web_api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'dart:async';
2-
import 'package:js/js.dart';
2+
import 'dart:js_util'; // Add this import
33
import 'dart:js_interop';
44

55
@JS("PhoneNumberServer")

pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,4 @@ packages:
215215
version: "15.0.0"
216216
sdks:
217217
dart: ">=3.8.0 <4.0.0"
218-
flutter: ">=3.35.5"
218+
flutter: ">=3.18.0-18.0.pre.54"

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ topics: [aliyun, phone]
88

99
environment:
1010
sdk: ">=2.19.0 <4.0.0"
11-
flutter: 3.35.5
11+
flutter: ">=2.19.0"
1212

1313
dependencies:
1414
flutter:

0 commit comments

Comments
 (0)