Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file modified tdesign-component/assets/tdesign/t_icons.ttf
Binary file not shown.
2 changes: 0 additions & 2 deletions tdesign-component/example/assets/api/avatar_api.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
## API
### TAvatar
#### 简介
用于头像显示
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand Down
4 changes: 0 additions & 4 deletions tdesign-component/example/assets/api/button_api.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
## API
### TButton
#### 简介
TD常规按钮
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand Down Expand Up @@ -34,8 +32,6 @@ TD常规按钮


### TButtonStyle
#### 简介
TButton按钮样式

#### 工厂构造方法

Expand Down
23 changes: 4 additions & 19 deletions tdesign-component/example/assets/api/calendar_api.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
## API
### TCalendar
#### 简介
日历组件
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand Down Expand Up @@ -42,8 +40,6 @@


### TCalendarPopup
#### 简介
单元格组件popup模式
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -60,8 +56,6 @@


### TCalendarStyle
#### 简介
日历组件样式

#### 工厂构造方法

Expand Down Expand Up @@ -109,11 +103,6 @@


### TCalendarDataSource
#### 简介
日历数据源接口

开发者需要实现此接口来提供农历转换能力。
组件内部不包含农历算法和数据,完全依赖外部实现。

#### 方法

Expand All @@ -130,8 +119,6 @@


### TLunarInfo
#### 简介
农历日期信息模型
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -146,8 +133,6 @@


### TCalendarDateType
#### 简介
日历类型枚举
#### 枚举值


Expand Down Expand Up @@ -193,17 +178,17 @@
| empty | - |


### CalendarFormat
### CalendarBuilder
#### 类型定义

```dart
typedef CalendarFormat = TDate? Function(TDate? day);
typedef CalendarBuilder = Widget Function(BuildContext context);
```


### CalendarBuilder
### CalendarFormat
#### 类型定义

```dart
typedef CalendarBuilder = Widget Function(BuildContext context);
typedef CalendarFormat = TDate? Function(TDate? day);
```
22 changes: 11 additions & 11 deletions tdesign-component/example/assets/api/cell_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,38 +93,38 @@
| titleStyle | TextStyle? | - | 标题文字样式 |


### TCellAlign
### TCellGroupTheme
#### 枚举值


| 名称 | 说明 |
| --- | --- |
| top | - |
| middle | - |
| bottom | - |
| defaultTheme | - |
| cardTheme | - |


### TCellGroupTheme
### TCellAlign
#### 枚举值


| 名称 | 说明 |
| --- | --- |
| defaultTheme | - |
| cardTheme | - |
| top | - |
| middle | - |
| bottom | - |


### TCellClick
### CellBuilder
#### 类型定义

```dart
typedef TCellClick = void Function(TCell cell);
typedef CellBuilder = Widget Function(BuildContext context, TCell cell, int index);
```


### CellBuilder
### TCellClick
#### 类型定义

```dart
typedef CellBuilder = Widget Function(BuildContext context, TCell cell, int index);
typedef TCellClick = void Function(TCell cell);
```
33 changes: 0 additions & 33 deletions tdesign-component/example/assets/api/checkbox_api.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
## API
### TCheckbox
#### 简介
复选框组件。
FuiCheckbox支持3种内置样式的的复选框,还支持各种自定义样式,除了提供勾选之外还提供了内
容选项,内容包含一个主标题和副标题,并且支持完全自定义内容,支持指定内容的方向等等
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand Down Expand Up @@ -38,25 +34,6 @@ FuiCheckbox支持3种内置样式的的复选框,还支持各种自定义样


### TCheckboxGroup
#### 简介
CheckBox组,可以通过控制器控制组内的多个CheckBox的选择状态
child的属性可以是任意包含TCheckBox的容器组件,例如:
```dart
TCheckboxGroup(
child: Row(
children: [
TCheckBox(),
Column(
children: [
TCheckBox()
...
]
)
...
]
)
)
```
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -77,8 +54,6 @@ TCheckboxGroup(


### TCheckboxStyle
#### 简介
选择框的样式
#### 枚举值


Expand All @@ -90,8 +65,6 @@ TCheckboxGroup(


### TContentDirection
#### 简介
内容相对icon的位置,上、下、左、右,默认内容在icon的右边
#### 枚举值


Expand All @@ -112,8 +85,6 @@ TCheckboxGroup(


### IconBuilder
#### 简介
自定义Icon
#### 类型定义

```dart
Expand All @@ -122,8 +93,6 @@ typedef IconBuilder = Widget? Function(BuildContext context, bool checked);


### ContentBuilder
#### 简介
自定义Content
#### 类型定义

```dart
Expand All @@ -140,8 +109,6 @@ typedef OnCheckValueChanged = void Function(bool selected);


### OnGroupChange
#### 简介
CheckBoxGroup变化监听器
#### 类型定义

```dart
Expand Down
31 changes: 0 additions & 31 deletions tdesign-component/example/assets/api/dialog_api.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
## API
### TAlertDialog
#### 简介
弹窗控件
支持横向或竖向摆放按钮
横向最多摆放两个按钮

#### 工厂构造方法

Expand Down Expand Up @@ -54,9 +50,6 @@


### TConfirmDialog
#### 简介
只有一个按钮的弹窗控件
按钮样式支持普通和文字
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -83,8 +76,6 @@


### TDialogButtonOptions
#### 简介
弹窗按钮配置
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -101,8 +92,6 @@


### TDialogScaffold
#### 简介
TDialog手脚架
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -116,8 +105,6 @@ TDialog手脚架


### TDialogTitle
#### 简介
弹窗标题
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -128,8 +115,6 @@ TDialog手脚架


### TDialogContent
#### 简介
弹窗内容
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -140,8 +125,6 @@ TDialog手脚架


### TDialogInfoWidget
#### 简介
弹窗信息
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -158,8 +141,6 @@ TDialog手脚架


### HorizontalNormalButtons
#### 简介
横向排列的两个按钮
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -170,8 +151,6 @@ TDialog手脚架


### HorizontalTextButtons
#### 简介
左右横向文字按钮,顶部和中间有分割线
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -182,8 +161,6 @@ TDialog手脚架


### TDialogButton
#### 简介
弹窗标题
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -203,8 +180,6 @@ TDialog手脚架


### TImageDialog
#### 简介
带有图片的弹窗控件
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -228,8 +203,6 @@ TDialog手脚架


### TInputDialog
#### 简介
带有输入框的弹窗
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand All @@ -254,10 +227,6 @@ TDialog手脚架


### TDialogButtonStyle
#### 简介
Dialog按钮样式
用于在Dialog层面配置按钮样式
Dialog内支持配置每个按钮的样式
#### 枚举值


Expand Down
4 changes: 0 additions & 4 deletions tdesign-component/example/assets/api/divider_api.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
## API
### TDivider
#### 简介
分割线
对于非flutter原有的控件,则只需满足TDesign规范即可;
如果有业务在实际使用,还需兼容实际业务场景。
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
Expand Down
Loading
Loading