mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-07-15 03:04:25 +08:00
fix: 一些页面的code演示打不开的问题
一些页面的code演示打不开的问题
This commit is contained in:
@ -38,7 +38,7 @@ class _DemoState extends State<Demo> {
|
||||
Widget build(BuildContext context) {
|
||||
return WidgetDemo(
|
||||
title: 'BottomAppBar',
|
||||
codeUrl: 'componentss/Bar/BottomAppBar/demo.dart',
|
||||
codeUrl: 'components/Bar/BottomAppBar/demo.dart',
|
||||
contentList: [allDomes(context, this)],
|
||||
docUrl: 'https://docs.flutter.io/flutter/material/BottomAppBar-class.html',
|
||||
);
|
||||
|
@ -40,7 +40,7 @@ class _DemoState extends State<Demo> {
|
||||
Widget build(BuildContext context) {
|
||||
return WidgetDemo(
|
||||
title: 'SliverAppBar',
|
||||
codeUrl: 'componentss/Bar/SliverAppBar/demo.dart',
|
||||
codeUrl: 'components/Bar/SliverAppBar/demo.dart',
|
||||
contentList:[allDomes(context, this)],
|
||||
docUrl: 'https://docs.flutter.io/flutter/widgets/SliverAppBar-class.html',
|
||||
);
|
||||
|
@ -40,7 +40,7 @@ class _DemoState extends State<Demo> {
|
||||
Widget build(BuildContext context) {
|
||||
return WidgetDemo(
|
||||
title: 'SnackBar',
|
||||
codeUrl: 'componentss/Bar/SnackBar/demo.dart',
|
||||
codeUrl: 'components/Bar/SnackBar/demo.dart',
|
||||
contentList: [allDomes(context, this)],
|
||||
docUrl: 'https://docs.flutter.io/flutter/material/SnackBar-class.html',
|
||||
);
|
||||
|
@ -32,7 +32,7 @@ const String _Text1 =
|
||||
|
||||
|
||||
class Demo extends StatefulWidget {
|
||||
static const String routeName = '/components//List/AnimatedList';
|
||||
static const String routeName = '/components/List/AnimatedList';
|
||||
|
||||
@override
|
||||
_DemoState createState() => _DemoState();
|
||||
|
@ -67,7 +67,7 @@ class _DemoState extends State<Demo> {
|
||||
Widget build(BuildContext context) {
|
||||
return WidgetDemo(
|
||||
title: 'ListView',
|
||||
codeUrl: '/componentss/List/ListView/demo.dart',
|
||||
codeUrl: 'components/List/ListView/demo.dart',
|
||||
contentList: [allCheckboxs(context, this)],
|
||||
docUrl: 'https://docs.flutter.io/flutter/widgets/ListView-class.html',
|
||||
);
|
||||
|
@ -12,7 +12,7 @@ import 'package:flutter/material.dart';
|
||||
/*
|
||||
* Checkbox 默认的实例
|
||||
* index 当前checkbox 的索引值
|
||||
* */
|
||||
*/
|
||||
class CheckboxDefault extends StatefulWidget{
|
||||
final int index;
|
||||
final parent;
|
||||
@ -41,7 +41,7 @@ class _CheckboxDefault extends State {
|
||||
/*
|
||||
* Checkbox 默认的实例
|
||||
* index 当前checkbox 的索引值
|
||||
* */
|
||||
*/
|
||||
class CheckboxSelect extends StatelessWidget {
|
||||
final int index;
|
||||
final widget;
|
||||
|
@ -36,7 +36,7 @@ class _DemoState extends State<Demo> {
|
||||
],
|
||||
title: 'CupertinoColors',
|
||||
docUrl: 'https://docs.flutter.io/flutter/cupertino/CupertinoColors-class.html',
|
||||
codeUrl: '/themes/Cupertino/CupertinoColor/demo.dart',
|
||||
codeUrl: 'themes/Cupertino/CupertinoColors/demo.dart',
|
||||
);
|
||||
}
|
||||
}
|
@ -38,7 +38,7 @@ class _DemoState extends State<Demo> {
|
||||
],
|
||||
title: 'CupertinoIcons',
|
||||
docUrl: 'https://docs.flutter.io/flutter/cupertino/CupertinoIcons-class.html',
|
||||
codeUrl: '/themes/Cupertino/CupertinoColor/demo.dart',
|
||||
codeUrl: 'themes/Cupertino/CupertinoIcons/demo.dart'
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user