Files
ryan d48942b55d refactor(many files): 页面部分的文件结构调整
1.views 文件夹里面分类,页面相关文件;2.公共组件全部放在components里;3.创建resources文件夹放置资源dart文件4.修改二级菜单文字大小

BREAKING CHANGE: 重构,建议删除本地db,再编译
2019-01-28 17:45:18 +08:00

43 lines
1.2 KiB
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* @Author: xiaojia.dxj
* @Date: 2018-12-18 15:14:03
* @Last Modified by: xiaojia.dxj
* @Last Modified time: 2018-12-18 15:14:03
*/
import 'package:flutter/material.dart';
import 'package:flutter_go/components/widget_demo.dart';
import 'demo.dart';
const String content0 = '''
### **简介**
> 基于 RawChip-based widgets如chipinputChip,ChoiceChip,FilterChip等
- chipTheme描述了应用它的chip的颜色形状和文本样式
''';
const String content1 = '''
### **基本用法**
- 可通过chipTheme.of获取当前主题的ChipThemeData对象
- 当widget使用ChipTheme.of时如果主题稍后更改则会自动重建。
''';
class Demo extends StatefulWidget {
static const String routeName = '/components/Chip/ChipTheme';
_DemoState createState() => _DemoState();
}
class _DemoState extends State<Demo> {
@override
Widget build(BuildContext context) {
return WidgetDemo(
contentList: [
content0,
content1,
ChipThemeDemo(),
],
codeUrl: 'components/Chip/ChipTheme/demo.dart',
docUrl:
'https://docs.flutter.io/flutter/material/ChipTheme-class.html',
title: 'ChipTheme');
}
}