File tree Expand file tree Collapse file tree 5 files changed +25
-31
lines changed
Expand file tree Collapse file tree 5 files changed +25
-31
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,12 @@ import 'package:efox_flutter/components/widgetComp.dart' as WidgetComp;
33import 'demo.dart' as Demo;
44import 'demo_expanded.dart' as DemoExpanded;
55
6- String originCodeUrl = 'https://docs.flutter.io/flutter/widgets/Column-class.html' ;
7- String codeUrl = 'docs/widget/regular/column/code.md' ;
8- String mdUrl = 'docs/widget/regular/column/index.md' ;
9-
106class Index extends StatefulWidget {
117 static String name = 'Column' ;
128 static String routerName = 'column' ;
9+ static String originCodeUrl = 'https://docs.flutter.io/flutter/widgets/Column-class.html' ;
10+ static String codeUrl = 'docs/widget/regular/column/code.md' ;
11+ static String mdUrl = 'docs/widget/regular/column/index.md' ;
1312
1413 @override
1514 _IndexState createState () => new _IndexState ();
@@ -20,9 +19,9 @@ class _IndexState extends State<Index> {
2019 Widget build (BuildContext context) {
2120 return WidgetComp .Index (
2221 name: Index .name,
23- codeUrl: codeUrl,
24- originCodeUrl: originCodeUrl,
25- mdUrl: mdUrl,
22+ codeUrl: Index . codeUrl,
23+ originCodeUrl: Index . originCodeUrl,
24+ mdUrl: Index . mdUrl,
2625 demoChild: < Widget > [
2726 Demo .Index (),
2827 DemoExpanded .Index ()
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ import 'package:flutter/material.dart';
22import 'package:efox_flutter/components/widgetComp.dart' as WidgetComp;
33import 'demo.dart' as Demo;
44
5- String originCodeUrl = 'https://docs.flutter.io/flutter/widgets/Container-class.html' ;
6- String codeUrl = 'docs/widget/regular/container/code.md' ;
7- String mdUrl = 'docs/widget/regular/container/index.md' ;
85
96class Index extends StatefulWidget {
107 static String name = 'Container' ;
118 static String routerName = 'container' ;
9+ static String originCodeUrl = 'https://docs.flutter.io/flutter/widgets/Container-class.html' ;
10+ static String codeUrl = 'docs/widget/regular/container/code.md' ;
11+ static String mdUrl = 'docs/widget/regular/container/index.md' ;
1212
1313 @override
1414 _IndexState createState () => _IndexState ();
@@ -19,9 +19,9 @@ class _IndexState extends State<Index> {
1919 Widget build (BuildContext context) {
2020 return WidgetComp .Index (
2121 name: Index .name,
22- codeUrl: codeUrl,
23- originCodeUrl: originCodeUrl,
24- mdUrl: mdUrl,
22+ codeUrl: Index . codeUrl,
23+ originCodeUrl: Index . originCodeUrl,
24+ mdUrl: Index . mdUrl,
2525 demoChild: < Widget > [
2626 Demo .Index ()
2727 ],
Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ import 'package:flutter/material.dart';
22import 'package:efox_flutter/components/widgetComp.dart' as WidgetComp;
33import 'demo.dart' as Demo;
44
5- String originCodeUrl = 'https://docs.flutter.io/flutter/widgets/Padding-class.html' ;
6- String codeUrl = 'docs/widget/regular/padding/code.md' ;
7- String mdUrl = 'docs/widget/regular/padding/index.md' ;
85
96class Index extends StatefulWidget {
107 static String name = 'Padding' ;
118 static String routerName = 'padding' ;
12-
9+ static String originCodeUrl = 'https://docs.flutter.io/flutter/widgets/Padding-class.html' ;
10+ static String codeUrl = 'docs/widget/regular/padding/code.md' ;
11+ static String mdUrl = 'docs/widget/regular/padding/index.md' ;
1312 @override
1413 _IndexState createState () => _IndexState ();
1514}
@@ -19,9 +18,9 @@ class _IndexState extends State<Index> {
1918 Widget build (BuildContext context) {
2019 return WidgetComp .Index (
2120 name: Index .name,
22- codeUrl: codeUrl,
23- originCodeUrl: originCodeUrl,
24- mdUrl: mdUrl,
21+ codeUrl: Index . codeUrl,
22+ originCodeUrl: Index . originCodeUrl,
23+ mdUrl: Index . mdUrl,
2524 demoChild: < Widget > [
2625 Demo .Index ()
2726 ],
Original file line number Diff line number Diff line change @@ -3,14 +3,12 @@ import 'package:efox_flutter/components/widgetComp.dart' as WidgetComp;
33import 'demo.dart' as Demo;
44import 'demo_expanded.dart' as DemoExpanded;
55
6- String _mdUrl = 'docs/widget/regular/row/index.md' ;
7-
86class Index extends StatefulWidget {
97 static String name = 'Row' ;
108 static String routerName = 'row' ;
119 static String originCodeUrl = 'https://docs.flutter.io/flutter/widgets/Row-class.html' ;
1210 static String codeUrl = 'docs/widget/regular/row/code.md' ;
13- static String mdUrl = _mdUrl ;
11+ static String mdUrl = 'docs/widget/regular/row/index.md' ;
1412
1513 @override
1614 _IndexState createState () => new _IndexState ();
Original file line number Diff line number Diff line change @@ -5,14 +5,12 @@ import 'demo_extent.dart' as DemoExtent;
55import 'demo_custom.dart' as DemoCustom;
66import 'demo_builder.dart' as DemoBuilder;
77
8- String mdUrl = 'docs/widget/scrollview/gridview/index.md' ;
9- String codeUrl = 'docs/widget/scrollview/gridview/code.md' ;
10- String codeUrl1 = 'docs/widget/scrollview/gridview/code.md' ;
11- String originCodeUrl = 'https://flutter.io/docs/cookbook/lists/grid-lists' ;
12-
138class Index extends StatefulWidget {
149 static String name = 'GridView' ;
1510 static String routerName = 'gridview' ;
11+ static String mdUrl = 'docs/widget/scrollview/gridview/index.md' ;
12+ static String codeUrl = 'docs/widget/scrollview/gridview/code.md' ;
13+ static String originCodeUrl = 'https://flutter.io/docs/cookbook/lists/grid-lists' ;
1614
1715 @override
1816 _IndexState createState () => new _IndexState ();
@@ -23,9 +21,9 @@ class _IndexState extends State<Index> {
2321 Widget build (BuildContext context) {
2422 return WidgetComp .Index (
2523 name: Index .name,
26- codeUrl: codeUrl,
27- originCodeUrl: originCodeUrl,
28- mdUrl: mdUrl,
24+ codeUrl: Index . codeUrl,
25+ originCodeUrl: Index . originCodeUrl,
26+ mdUrl: Index . mdUrl,
2927 demoChild: [
3028 DemoCount .Index (),
3129 DemoExtent .Index (),
You can’t perform that action at this time.
0 commit comments