提交 05c2595f authored 作者: Kevin's avatar Kevin

修改了README

上级 ed0a5b6d
...@@ -95,12 +95,12 @@ const CupertinoPopoverMenuItem({ ...@@ -95,12 +95,12 @@ const CupertinoPopoverMenuItem({
this.isTapClosePopover=true this.isTapClosePopover=true
}); });
``` ```
| Param | Type | Default | Description | | Param | Type | Description |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| [leading] | <code>Widget<Widget></code> | | 菜单左边,一般放图标 | | [leading] | <code>Widget<Widget></code> | 菜单左边,一般放图标 |
| [child] | <code>Widget<Widget></code> | | 菜单内容 | | [child] | <code>Widget<Widget></code> | 菜单内容 |
| [onTap] | <code>VoidCallback<Widget></code> | |菜单点击事件 | | [onTap] | <code>VoidCallback<Widget></code> |菜单点击事件 |
| [isTapClosePopover] | <code>bool<Widget></code> | | 是否点击关闭 | | [isTapClosePopover] | <code>bool<Widget></code> | 是否点击关闭 |
#### 案例核心代码 #### 案例核心代码
```dart ```dart
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论