Browse Source

布局功能优化

zyh
w-R 3 years ago
parent
commit
5d098b939a
  1. 1
      lib/main.dart
  2. 2
      pubspec.yaml

1
lib/main.dart

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

2
pubspec.yaml

@ -3,7 +3,7 @@ description: 一心回乡.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 2.0.29+17 version: 2.0.30+18
environment: environment:
sdk: ">=2.7.0 <3.0.0" sdk: ">=2.7.0 <3.0.0"

Loading…
Cancel
Save