mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-05-20 22:36:34 +08:00
refactor:按规范修改代码、注释等
This commit is contained in:
@ -126,10 +126,8 @@ Widget allRaisedButtons(BuildContext context,_DemoState that){
|
||||
);
|
||||
}
|
||||
|
||||
/*
|
||||
* alert 弹框
|
||||
* context:容器的父级
|
||||
* */
|
||||
// alert 弹框
|
||||
// context:容器的父级
|
||||
// void _showMessage(String name, BuildContext context) {
|
||||
// showDialog(
|
||||
// // alert 的父级
|
||||
|
@ -8,10 +8,9 @@
|
||||
import 'dart:math';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/*
|
||||
* RawMaterialButton 默认按钮的实例
|
||||
* isDisabled:是否是禁用,isDisabled 默认为true
|
||||
* */
|
||||
// RawMaterialButton 默认按钮的实例
|
||||
// isDisabled:是否是禁用,isDisabled 默认为true
|
||||
|
||||
class RawMaterialButtonDefault extends StatelessWidget {
|
||||
final bool isDisabled;
|
||||
|
||||
@ -28,9 +27,7 @@ class RawMaterialButtonDefault extends StatelessWidget {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* RawMaterialButton 自定义的实例
|
||||
* */
|
||||
// RawMaterialButton 自定义的实例
|
||||
class RawMaterialButtonCustom extends StatelessWidget {
|
||||
final String txt;
|
||||
final Color color;
|
||||
|
@ -97,10 +97,8 @@ Widget allRawMaterialButtons(BuildContext context,_DemoState that){
|
||||
);
|
||||
}
|
||||
|
||||
/*
|
||||
* alert 弹框
|
||||
* context:容器的父级
|
||||
* */
|
||||
// alert 弹框
|
||||
// context:容器的父级
|
||||
// void _showMessage(String name, BuildContext context) {
|
||||
// showDialog(
|
||||
// // alert 的父级
|
||||
|
@ -1,9 +1,8 @@
|
||||
/*
|
||||
* @Author: 一凨
|
||||
* @Date: 2018-11-16 15:09:19
|
||||
* @Last Modified by: 一凨
|
||||
* @Last Modified time: 2019-01-07 15:37:07
|
||||
*/
|
||||
/// @Author: 一凨
|
||||
/// @Date: 2018-11-16 15:09:19
|
||||
/// @Last Modified by: 一凨
|
||||
/// @Last Modified time: 2019-01-07 15:37:07
|
||||
|
||||
import '../../../../model/widget.dart';
|
||||
import "package:flutter/material.dart";
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
/*
|
||||
* @Author: 一凨
|
||||
* @Date: 2018-11-16 15:09:27
|
||||
* @Last Modified by: 一凨
|
||||
* @Last Modified time: 2018-11-16 15:09:27
|
||||
*/
|
||||
/// @Author: 一凨
|
||||
/// @Date: 2018-11-16 15:09:27
|
||||
/// @Last Modified by: 一凨
|
||||
/// @Last Modified time: 2018-11-16 15:09:27
|
||||
|
||||
import 'Image/index.dart' as Image;
|
||||
import 'Icon/index.dart' as Icon;
|
||||
import 'Canvas/index.dart' as Canvas;
|
||||
|
@ -1,9 +1,8 @@
|
||||
/*
|
||||
* @Author: 一凨
|
||||
* @Date: 2018-11-16 15:09:31
|
||||
* @Last Modified by: 一凨
|
||||
* @Last Modified time: 2018-11-16 15:09:31
|
||||
*/
|
||||
/// @Author: 一凨
|
||||
/// @Date: 2018-11-16 15:09:31
|
||||
/// @Last Modified by: 一凨
|
||||
/// @Last Modified time: 2018-11-16 15:09:31
|
||||
|
||||
import 'Form/index.dart' as Form;
|
||||
import 'Frame/index.dart' as Frame;
|
||||
import 'Media/index.dart' as Media;
|
||||
|
Reference in New Issue
Block a user