Skip to content

Commit e49dcd9

Browse files
committed
Merge branch 'test' of https://github.com/efoxTeam/flutter-ui into dev-ken
2 parents ce3e3e3 + af5f5d6 commit e49dcd9

File tree

30 files changed

+619
-40
lines changed

30 files changed

+619
-40
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## ****

docs/widget/form/form/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## ****
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## ****

docs/widget/form/radio/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## ****
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## ****

docs/widget/form/slider/index.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
## **Slider**
2+
3+
>
4+
Silder用来选择连续性的或者非连续性的数据
5+
6+
### 构造方法
7+
``` dart
8+
Slider({
9+
Key key,
10+
@required this.value,
11+
@required this.onChanged,
12+
this.onChangeStart,
13+
this.onChangeEnd,
14+
this.min = 0.0,
15+
this.max = 1.0,
16+
this.divisions,
17+
this.label,
18+
this.activeColor,
19+
this.inactiveColor,
20+
this.semanticFormatterCallback,
21+
})
22+
```
23+
24+
### 属性介绍
25+
* value:Silder当前值
26+
* onChanged:滑块状态发生变化时进行回调
27+
* onChangeStart:滑块状态刚发生变化时的回调
28+
* onChangeEnd:滑块状态变化结束时的回调
29+
* min:用户可以选择的最小值
30+
* max:用户可以选择的最大值
31+
* divisions:将silder划分为几份
32+
* label:滑块处于活动状态时显示在滑块上方的标签
33+
* activeColor:用于滑块轨道中活动部分的颜色
34+
* inactiveColor:滑块轨道的非活动部分的颜色
35+

docs/widget/form/switch/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## ****
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## ****
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## ****
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import 'package:flutter/material.dart';
2+
3+
class Index extends StatefulWidget {
4+
@override
5+
State<StatefulWidget> createState() => _IndexState();
6+
}
7+
8+
class _IndexState extends State<Index> {
9+
@override
10+
void initState() {
11+
super.initState();
12+
}
13+
14+
@override
15+
Widget build(BuildContext context) {
16+
return Scaffold(
17+
appBar: AppBar(
18+
title: Text('DayPicker'),
19+
),
20+
body: Center(
21+
child: Text('更新中'),
22+
),
23+
);
24+
}
25+
}

0 commit comments

Comments
 (0)