File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import 'package:flutter/material.dart' ;
22import 'package:efox_flutter/lang/application.dart' ;
33import 'package:efox_flutter/lang/app_translations.dart' ;
4+ import 'package:flutter_screenutil/flutter_screenutil.dart' ;
45//
56import 'package:efox_flutter/store/store.dart' show Store, MainStateModel;
67
@@ -102,6 +103,7 @@ class _IndexState extends State<Index> with SingleTickerProviderStateMixin {
102103
103104 @override
104105 Widget build (BuildContext context) {
106+ ScreenUtil .instance = ScreenUtil (width: 750 , height: 1334 )..init (context);
105107 // 实例化语言包
106108 AppTranslations lang = AppTranslations .of (context);
107109 return Store .connect (
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import 'demo.dart' as Demo;
44
55class Index extends StatefulWidget {
66 static String title = 'Table' ;
7- static String originCodeUrl = '' ;
7+ static String originCodeUrl = 'https://docs.flutter.io/flutter/widgets/Table-class.html ' ;
88 static String mdUrl = 'docs/widget/regular/table/index.md' ;
99 @override
1010 _IndexState createState () => _IndexState ();
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ dependencies:
3232 flutter_markdown : ^0.2.0
3333 flutter_webview_plugin : ^0.3.0+2
3434 fluro : ^1.4.0
35+ flutter_screenutil : ^0.5.1
3536
3637dev_dependencies :
3738 flutter_test :
You can’t perform that action at this time.
0 commit comments