refactor:按照代码规范调整注释文件

This commit is contained in:
ryan
2019-02-19 00:06:43 +08:00
parent 2dc2da9156
commit 45ef00f9f5
139 changed files with 671 additions and 849 deletions

View File

@ -1,18 +1,15 @@
/**
* Created with Android Studio.
* User: 一晟
* Date: 2018/11/22
* Time: 上午12:03
* email: zhu.yan@alibaba-inc.com
* tartget: RaisedButton 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2018/11/22
/// Time: 上午12:03
/// email: zhu.yan@alibaba-inc.com
/// target: RaisedButton 的示例
import 'dart:math';
import 'package:flutter/material.dart';
/*
* RaisedButton 默认按钮的实例
* isDisabled:是否是禁用isDisabled 默认为true
* */
/// RaisedButton 默认按钮的实例
/// isDisabled:是否是禁用isDisabled 默认为true
class RaisedButtonDefault extends StatelessWidget {
final bool isDisabled;
@ -29,11 +26,9 @@ class RaisedButtonDefault extends StatelessWidget {
}
}
/*
* RaisedButton.icon 默认按钮的实例
* Create a text button from a pair of widgets that serve as the button's icon and label
* isDisabled:是否是禁用
* */
/// RaisedButton.icon 默认按钮的实例
/// Create a text button from a pair of widgets that serve as the button's icon and label
/// isDisabled:是否是禁用
class RaisedButtonIconDefault extends StatelessWidget {
final bool isDisabled;
final IconData icon;
@ -63,9 +58,8 @@ class RaisedButtonIconDefault extends StatelessWidget {
}
}
/*
* RaisedButton 自定义的实例
* */
/// RaisedButton 自定义的实例
class RaisedButtonCustom extends StatelessWidget {
final String txt;
final Color color;

View File

@ -1,12 +1,11 @@
/**
* Created with 菜鸟手册.
* User: 一晟
* Date: 2018/11/14
* Time: 下午4:31
* email: zhu.yan@alibaba-inc.com
* target: RaisedButton 的示例
* 对应文档地址:https://docs.flutter.io/flutter/material/RaisedButton-class.html
*/
/// Created with 菜鸟手册.
/// User: 一晟
/// Date: 2018/11/14
/// Time: 下午4:31
/// email: zhu.yan@alibaba-inc.com
/// target: RaisedButton 的示例
/// 对应文档地址:https://docs.flutter.io/flutter/material/RaisedButton-class.html
import 'package:flutter_go/components/widget_demo.dart';
import 'dart:math';
import 'package:flutter/material.dart';