File tree Expand file tree Collapse file tree 5 files changed +34
-11
lines changed
Expand file tree Collapse file tree 5 files changed +34
-11
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ class IndexState extends State<Index> {
166166 child: Row (children: [
167167 Icon (
168168 Icons .home,
169- color: Color (model.theme.blackColor ),
169+ color: Color (model.theme.greyColor ),
170170 ),
171171 Text (" " ),
172172 Text ('官网' ),
@@ -177,7 +177,7 @@ class IndexState extends State<Index> {
177177 child: Row (children: [
178178 Icon (
179179 Icons .all_inclusive,
180- color: Color (model.theme.blackColor ),
180+ color: Color (model.theme.greyColor ),
181181 ),
182182 Text (" " ),
183183 Text ("Markdown" ),
@@ -188,7 +188,7 @@ class IndexState extends State<Index> {
188188 child: Row (children: [
189189 Icon (
190190 Icons .code,
191- color: Color (model.theme.blackColor ),
191+ color: Color (model.theme.greyColor ),
192192 ),
193193 Text (" " ),
194194 Text (this .title),
Original file line number Diff line number Diff line change 11import 'package:efox_flutter/store/objects/widget_info.dart' ;
2- import 'gridview/index.dart' as GridView;
2+ import 'gridview/index.dart' as gridview;
3+ import 'listview/index.dart' as listview;
34
45const nameSpaces = '/scrollview_' ;
56
67List widgets = [
78 ItemInfo (
8- widget: GridView .Index (),
9- code: 59673 ,
10- title: GridView .Index .title,
9+ widget: gridview.Index (),
10+ code: 59632 , // view_module
11+ title: gridview.Index .title,
12+ ),
13+ ItemInfo (
14+ widget: listview.Index (),
15+ code: 59631 , // view_list
16+ title: listview.Index .title,
1117 )
1218];
1319
Original file line number Diff line number Diff line change 1+ import 'package:flutter/material.dart' ;
2+
3+ class Index extends StatefulWidget {
4+ @override
5+ State createState () => _IndexState ();
6+ }
7+
8+ class _IndexState extends State <Index > {
9+ @override
10+ Widget build (BuildContext context) {
11+ return Container (
12+ child: Text ('test' ),
13+ );
14+ }
15+ }
Original file line number Diff line number Diff line change 11import 'package:flutter/material.dart' ;
22import 'package:efox_flutter/components/widgetComp.dart' as WidgetComp;
3+ import 'demo.dart' as Demo;
34
45class Index extends StatefulWidget {
5- static String title = 'GridView ' ;
6- static String mdUrl = 'docs/widget/scrollview/gridview /index.md' ;
7- static String codeUrl = 'docs/widget/scrollview/gridview /code.md' ;
8- static String originCodeUrl = 'https://flutter.io/docs/cookbook/lists/grid-lists ' ;
6+ static String title = 'ListView ' ;
7+ static String mdUrl = 'docs/widget/scrollview/listview /index.md' ;
8+ static String codeUrl = 'docs/widget/scrollview/listview /code.md' ;
9+ static String originCodeUrl = 'https://docs. flutter.io/flutter/widgets/ListView-class.html ' ;
910
1011 @override
1112 _IndexState createState () => new _IndexState ();
@@ -20,6 +21,7 @@ class _IndexState extends State<Index> {
2021 originCodeUrl: Index .originCodeUrl,
2122 mdUrl: Index .mdUrl,
2223 demoChild: [
24+ Demo .Index (),
2325 ]
2426 );
2527 }
You can’t perform that action at this time.
0 commit comments