Browse Source

在flutter3.0可以运行项目。

zyh
Loki 2 years ago
parent
commit
d9e4beb8d0
  1. 3
      android/build.gradle
  2. 2
      android/gradle/wrapper/gradle-wrapper.properties
  3. BIN
      assets/image/rechargeBtn.png
  4. 2
      lib/generated/l10n.dart
  5. 2
      lib/main.dart
  6. 355
      pubspec.lock
  7. 5
      pubspec.yaml

3
android/build.gradle

@ -12,9 +12,6 @@ buildscript {
} }
// google() // google()
// jcenter() // jcenter()
jcenter(){
url "http://jcenter.bintray.com/"
}
maven { maven {
url "http://mvn.mob.com/android" url "http://mvn.mob.com/android"
} }

2
android/gradle/wrapper/gradle-wrapper.properties vendored

@ -6,3 +6,5 @@ zipStorePath=wrapper/dists
#distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip #distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
#distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip #distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
systemProp.http.proxyHost=proxy.com
systemProp.http.proxyPort=8080

BIN
assets/image/rechargeBtn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

2
lib/generated/l10n.dart

@ -5008,7 +5008,7 @@ class S {
/// `` /// ``
String get pingtaiyue { String get pingtaiyue {
return Intl.message( return Intl.message(
'平台余额', '回乡余额',
name: 'pingtaiyue', name: 'pingtaiyue',
desc: '', desc: '',
args: [], args: [],

2
lib/main.dart

@ -162,7 +162,7 @@ class MyApp extends StatelessWidget {
), ),
child: ScreenUtilInit( child: ScreenUtilInit(
designSize: Size(375, 812), designSize: Size(375, 812),
builder: () => MaterialApp( builder: (c,w) => MaterialApp(
debugShowCheckedModeBanner: false, debugShowCheckedModeBanner: false,
theme: ThemeData( theme: ThemeData(
primarySwatch: Colors.blue, primarySwatch: Colors.blue,

355
pubspec.lock

File diff suppressed because it is too large Load Diff

5
pubspec.yaml

@ -17,7 +17,8 @@ dependencies:
gradient_widgets: ^0.6.0 gradient_widgets: ^0.6.0
keframe: ^2.0.2 #滑动组件卡顿优化 keframe: ^3.0.0
# keframe: ^2.0.2 #滑动组件卡顿优化
tpns_flutter_plugin: tpns_flutter_plugin:
git: git:
@ -66,7 +67,7 @@ dependencies:
scan: ^1.5.0 scan: ^1.5.0
path_provider: ^1.2.0 path_provider: ^1.2.0
network_to_file_image: ^2.0.0 network_to_file_image: ^4.0.1
flutter_html: ^2.1.5 #2.1.0 flutter_html: ^2.1.5 #2.1.0
chewie_audio: ^1.1.2 chewie_audio: ^1.1.2

Loading…
Cancel
Save