Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: 合并test分支 #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
wanwusangzhi merged 29 commits into master from test
Mar 13, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3754f65
style:切换icon
ckken Mar 11, 2019
57c1da3
up
ckken Mar 11, 2019
c4ef687
Merge branch 'test' into dev-ken
ckken Mar 11, 2019
72e19a2
Merge pull request #23 from efoxTeam/dev-ken
ckken Mar 11, 2019
50213ec
style:优化文档 合并组件类
ckken Mar 11, 2019
2e91f0a
Merge pull request #25 from efoxTeam/dev-ken
ckken Mar 11, 2019
050c4ae
style:增加pr格式
ckken Mar 11, 2019
e49c01d
Merge pull request #26 from efoxTeam/dev-ken
ckken Mar 11, 2019
509d914
feat: add appbar‘
wanwusangzhi Mar 11, 2019
1b43e48
Merge branch 'test' of https://github.com/efoxTeam/flutter-ui into test
wanwusangzhi Mar 11, 2019
d238eff
fix: webview
DIVINER-only Mar 11, 2019
468c9d2
feat: switch
DIVINER-only Mar 11, 2019
614bc57
feat: SwitchListTile
DIVINER-only Mar 11, 2019
4b8b7fb
feat:首页增加点击展开收缩功能
wanwusangzhi Mar 11, 2019
b5f7eee
fix:增加md
wanwusangzhi Mar 11, 2019
7a9bec3
feat: SwitchListTile
DIVINER-only Mar 12, 2019
2a0dc02
Merge branch 'lhr' into test
DIVINER-only Mar 12, 2019
794da40
feat:增加md’
wanwusangzhi Mar 12, 2019
8776c77
Merge branch 'ysz' into test
wanwusangzhi Mar 12, 2019
059c940
feat: PickerDate
DIVINER-only Mar 12, 2019
814d9ec
Merge branch 'lhr' into test
DIVINER-only Mar 12, 2019
cecdd2f
feat: Radio
DIVINER-only Mar 12, 2019
741b1a6
RadioListTile
DIVINER-only Mar 12, 2019
fe6e1bb
feat: NoDemo
DIVINER-only Mar 12, 2019
85b0201
feat:增加空显示示页面
wanwusangzhi Mar 12, 2019
57db272
TextField
DIVINER-only Mar 12, 2019
5fa4af6
feat:add draw component
wanwusangzhi Mar 12, 2019
5ffdc87
Merge branch 'ysz' into test
wanwusangzhi Mar 12, 2019
043d180
feat:增加文档热更功能
wanwusangzhi Mar 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: NoDemo
  • Loading branch information
DIVINER-only committed Mar 12, 2019
commit fe6e1bbe7c0a311d6ebbb6d187d1caad4c7b5269
Binary file added assets/nothing.png
View file Open in desktop
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[フレーム]
33 changes: 33 additions & 0 deletions lib/components/nodemo.dart
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import 'package:flutter/material.dart';

class Index extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
width: double.infinity,
margin: EdgeInsets.only(top: 100.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Container(
width: 200.0,
height: 200.0,
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/nothing.png')
)
),
),
Text(
'等待更新',
style: TextStyle(
fontSize: 20.0,
color: Colors.grey
),
)
],
),
);
}
}
17 changes: 11 additions & 6 deletions lib/components/widgetComp.dart
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import 'package:efox_flutter/components/markdownComp.dart' as MarkDownComp;
import 'package:efox_flutter/lang/index.dart' show AppLocalizations;
import 'package:efox_flutter/components/baseComp.dart' as BaseComp;
import 'package:efox_flutter/components/exampleComp.dart' as ExampleComp;
import 'package:efox_flutter/components/nodemo.dart' as NoDemo;
import 'package:efox_flutter/utils/file.dart' as FileUtils;
import 'package:efox_flutter/utils/loadAsset.dart' as LoadAssetUtils;
import 'package:efox_flutter/router/index.dart' show FluroRouter;
Expand Down Expand Up @@ -61,15 +62,19 @@ class IndexState extends State<Index> {

void init() async {
this._bodyList.length = 0;
this
if (this.demoChild.length != 0) {
this
._bodyList
.add(await MarkDownComp.Index(await this.getMdFile(this.mdUrl)));

// 增加
if (this.demoChild != null) {
this.demoChild.forEach((Widget item) {
this._bodyList.add(ExampleComp.Index(child: item));
});
// 增加
if (this.demoChild != null) {
this.demoChild.forEach((Widget item) {
this._bodyList.add(ExampleComp.Index(child: item));
});
}
} else {
this._bodyList.add(NoDemo.Index());
}

setState(() {
Expand Down
39 changes: 38 additions & 1 deletion lib/widget/form/textfield/demo.dart
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,21 @@ class Index extends StatefulWidget {
}

class _IndexState extends State<Index> {
final _textEditingController = TextEditingController();

@override
void dispose(){
super.dispose();
_textEditingController.dispose();
}

@override
void initState() {
super.initState();
_textEditingController.text = '';
_textEditingController.addListener(() {
print('input: ${_textEditingController.text}');
});
}

@override
Expand All @@ -18,7 +30,32 @@ class _IndexState extends State<Index> {
title: Text('TextField'),
),
body: Center(
child: Text('更新中'),
child: Container(
padding: EdgeInsets.all(10.0),
child: TextField(
controller: _textEditingController,
maxLength: 20,
maxLines: 1,
obscureText: false,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 20.0,
color: Theme.of(context).primaryColor
),
onChanged: (value) {
print('正在输入:$value');
},
onSubmitted: (value) {
print('sumbit输入完毕: $value');
},
decoration: InputDecoration(
icon: Icon(Icons.subject),
// labelText: 'Title',
// hintText: 'Enter the post title',
// filled: true
),
),
)
),
);
}
Expand Down
4 changes: 2 additions & 2 deletions lib/widget/form/textfield/index.dart
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:efox_flutter/components/widgetComp.dart' as WidgetComp;
// import 'demo.dart' as Demo;
import 'demo.dart' as Demo;

class Index extends StatefulWidget {
static String title = 'TextField';
Expand All @@ -19,7 +19,7 @@ class _IndexState extends State<Index> {
originCodeUrl: Index.originCodeUrl,
mdUrl: Index.mdUrl,
demoChild: [
// Demo.Index(),
Demo.Index(),
],
);
}
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ flutter:
# - images/a_dot_ham.jpeg
assets:
- locale/
- assets/
- docs/widget/scrollview/customscrollview/
- docs/widget/scrollview/gridview/
- docs/widget/scrollview/listview/
Expand Down

AltStyle によって変換されたページ (->オリジナル) /