mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-07-15 03:04:25 +08:00
refactor:按照代码规范调整注释文件
This commit is contained in:
@ -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;
|
||||
|
@ -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';
|
||||
|
Reference in New Issue
Block a user