Skip to content

Commit

Permalink
refactor:按照代码规范调整注释文件
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan730 committed Feb 18, 2019
1 parent 2dc2da9 commit 45ef00f
Show file tree
Hide file tree
Showing 139 changed files with 671 additions and 849 deletions.
4 changes: 4 additions & 0 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
333E5DAE7FC10AC69FEC26C0 /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DDA792F029EDD7A11295D192 /* libPods-Runner.a */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; };
3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
Expand Down Expand Up @@ -74,6 +75,7 @@
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -146,6 +148,7 @@
children = (
3B80C3931E831B6300D905FE /* App.framework */,
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
9740EEBA1CF902C7004384FC /* Flutter.framework */,
9740EEB21CF90195004384FC /* Debug.xcconfig */,
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
Expand Down Expand Up @@ -271,6 +274,7 @@
0828E4A2220692B500A59437 /* iPhone Portrait-Retina HD 5.5.png in Resources */,
0828E49A220692B500A59437 /* iPhone X_XS Portrait.png in Resources */,
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
0828E49E220692B500A59437 /* iPad [email protected] in Resources */,
0828E49D220692B500A59437 /* iPhone [email protected] in Resources */,
0828E499220692B500A59437 /* iPhone Portrait-Retina HD 4.7.png in Resources */,
Expand Down
15 changes: 7 additions & 8 deletions lib/components/list_refresh.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/**
* Created with Android Studio.
* User: 一晟
* Date: 2019/1/4
* Time: 上午1:16
* email: [email protected]
* tartget: FlatButton 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/4
/// Time: 上午1:16
/// email: [email protected]
/// target: ListRefresh 的示例
import 'package:flutter/material.dart';
import 'dart:async';

Expand Down
16 changes: 7 additions & 9 deletions lib/resources/icon_names.dart

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/resources/shared_preferences_keys.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Date: 31/01/2019
* Time: 18:13
* email: [email protected]
* tartget: xxx
* target: xxx
*/

//enum DateType {
Expand Down
4 changes: 1 addition & 3 deletions lib/views/first_page/first_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ class FirstPageState extends State<FirstPage> with AutomaticKeepAliveClientMixin
return (prefs.getBool('disclaimer::Boolean') ?? false);
});

/**
* 判断是否需要弹出免责声明,已经勾选过不在显示,就不会主动弹
*/
/// 判断是否需要弹出免责声明,已经勾选过不在显示,就不会主动弹
_unKnow.then((bool value) {
new Future.delayed(const Duration(seconds: 1),(){
if (!value) {
Expand Down
2 changes: 1 addition & 1 deletion lib/views/first_page/first_page_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Date: 2019/1/5
* Time: 下午10:20
* email: [email protected]
* tartget: FirstPageItem
* target: FirstPageItem
*/

import 'package:flutter_go/utils/util.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/views/first_page/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Date: 16/01/2019
* Time: 11:16
* email: [email protected]
* tartget: app首页
* target: app首页
*/


Expand Down
3 changes: 2 additions & 1 deletion lib/views/fourth_page/pages.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ class Page extends StatelessWidget {
Widget build(BuildContext context) {
return new Container(
width: double.infinity,
/// height:MediaQuery.of(context).size.height-200.0,
color: viewModel.color,
padding: const EdgeInsets.fromLTRB(0, 0, 0, 0),
child: new Opacity(
child: Opacity(
opacity: percentVisible,
child:ListView(
children: <Widget>[
Expand Down
2 changes: 1 addition & 1 deletion lib/views/welcome_page/index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Date: 14/01/2019
* Time: 23:00
* email: [email protected]
* tartget: xxx
* target: xxx
*/

import 'package:flutter/material.dart';
Expand Down
14 changes: 6 additions & 8 deletions lib/widgets/components/Bar/AppBar/demo.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/1
* Time: 下午7:33
* email: [email protected]
* tartget: AppBar 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/1
/// Time: 下午7:33
/// email: [email protected]
/// target: AppBar 的示例
import 'package:flutter/material.dart';

Expand Down
15 changes: 7 additions & 8 deletions lib/widgets/components/Bar/AppBar/index.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/1
* Time: 下午7:30
* email: [email protected]
* tartget: AppBar 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/1
/// Time: 下午7:30
/// email: [email protected]
/// target: AppBar 的示例
import 'package:flutter_go/components/widget_demo.dart';

import 'package:flutter/material.dart';
Expand Down
14 changes: 6 additions & 8 deletions lib/widgets/components/Bar/BottomAppBar/demo.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/1
* Time: 下午8:56
* email: [email protected]
* tartget: BottomAppBar 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/1
/// Time: 下午8:56
/// email: [email protected]
/// target: BottomAppBar 的示例
import 'package:flutter/material.dart';

Expand Down
15 changes: 7 additions & 8 deletions lib/widgets/components/Bar/BottomAppBar/index.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/1
* Time: 下午8:53
* email: [email protected]
* tartget: BottomAppBar 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/1
/// Time: 下午8:53
/// email: [email protected]
/// target: BottomAppBar 的示例
import 'package:flutter_go/components/widget_demo.dart';

import 'package:flutter/material.dart';
Expand Down
14 changes: 6 additions & 8 deletions lib/widgets/components/Bar/ButtonBar/demo.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/1
* Time: 下午11:11
* email: [email protected]
* tartget: ButtonBar 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/1
/// Time: 下午11:11
/// email: [email protected]
/// target: ButtonBar 的示例
import 'package:flutter/material.dart';

Expand Down
15 changes: 7 additions & 8 deletions lib/widgets/components/Bar/ButtonBar/index.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/1
* Time: 下午11:10
* email: [email protected]
* tartget: ButtonBar 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/1
/// Time: 下午11:10
/// email: [email protected]
/// target: ButtonBar 的示例
import 'package:flutter_go/components/widget_demo.dart';

import 'package:flutter/material.dart';
Expand Down
15 changes: 6 additions & 9 deletions lib/widgets/components/Bar/FlexibleSpaceBar/demo.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/1
* Time: 下午10:38
* email: [email protected]
* tartget: FlexibleSpaceBar 的示例
*/

/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/1
/// Time: 下午10:38
/// email: [email protected]
/// target: FlexibleSpaceBar 的示例
import 'package:flutter/material.dart';

Expand Down
15 changes: 7 additions & 8 deletions lib/widgets/components/Bar/FlexibleSpaceBar/index.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/1
* Time: 下午10:38
* email: [email protected]
* tartget: FlexibleSpaceBar 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/1
/// Time: 下午10:38
/// email: [email protected]
/// target: FlexibleSpaceBar 的示例
import 'package:flutter_go/components/widget_demo.dart';

import 'package:flutter/material.dart';
Expand Down
14 changes: 6 additions & 8 deletions lib/widgets/components/Bar/SliverAppBar/demo.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/1
* Time: 下午4:11
* email: [email protected]
* tartget: SliverAppBar 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/1
/// Time: 下午4:11
/// email: [email protected]
/// target: SliverAppBar 的示例
import 'package:flutter/material.dart';

Expand Down
15 changes: 7 additions & 8 deletions lib/widgets/components/Bar/SliverAppBar/index.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/1
* Time: 下午4:10
* email: [email protected]
* tartget: SliverAppBar 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/1
/// Time: 下午4:10
/// email: [email protected]
/// target: SliverAppBar 的示例
import 'package:flutter_go/components/widget_demo.dart';

import 'package:flutter/material.dart';
Expand Down
15 changes: 6 additions & 9 deletions lib/widgets/components/Bar/SnackBar/demo.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/2
* Time: 上午12:07
* email: [email protected]
* tartget: SnackBar 的示例
*/

/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/2
/// Time: 上午12:07
/// email: [email protected]
/// target: SnackBar 的示例
import 'package:flutter/material.dart';

Expand Down
15 changes: 7 additions & 8 deletions lib/widgets/components/Bar/SnackBar/index.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/2
* Time: 上午12:06
* email: [email protected]
* tartget: SnackBar 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/2
/// Time: 上午12:06
/// email: [email protected]
/// target: SnackBar 的示例
import 'package:flutter_go/components/widget_demo.dart';

import 'package:flutter/material.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/components/Bar/SnackBarAction/demo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Date: 2019/1/6
* Time: 下午17:08
* email: [email protected]
* tartget: SnackBarAction 的示例
* target: SnackBarAction 的示例
*/

import 'package:flutter/material.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/components/Bar/SnackBarAction/index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Date: 2019/1/6
* Time: 下午17:08
* email: [email protected]
* tartget: SnackBarAction 的示例
* target: SnackBarAction 的示例
*/
import 'package:flutter_go/components/widget_demo.dart';
import 'package:flutter/material.dart';
Expand Down
14 changes: 6 additions & 8 deletions lib/widgets/components/Bar/TabBar/demo.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/**
* Created with Android Studio.
* User: ryan
* Date: 2019/1/6
* Time: 下午7:33
* email: [email protected]
* tartget: TabBar 的示例
*/
/// Created with Android Studio.
/// User: 一晟
/// Date: 2019/1/6
/// Time: 下午7:33
/// email: [email protected]
/// target: TabBar 的示例
import 'package:flutter/material.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/components/Bar/TabBar/index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Date: 2019/1/6
* Time: 下午17:08
* email: [email protected]
* tartget: SnackBarAction 的示例
* target: SnackBarAction 的示例
*/
import 'package:flutter_go/components/widget_demo.dart';
import 'package:flutter/material.dart';
Expand Down
Loading

0 comments on commit 45ef00f

Please sign in to comment.