Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fluttercandies/w_popup_menu
w_popup_menu # A pop-up menu that mimics the iOS WeChat page
https://github.com/fluttercandies/w_popup_menu
Last synced: about 1 month ago
JSON representation
w_popup_menu # A pop-up menu that mimics the iOS WeChat page
- Host: GitHub
- URL: https://github.com/fluttercandies/w_popup_menu
- Owner: fluttercandies
- License: apache-2.0
- Archived: true
- Created: 2019-08-15T02:01:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-09T11:18:36.000Z (over 4 years ago)
- Last Synced: 2024-08-03T09:06:59.027Z (4 months ago)
- Language: Dart
- Size: 54.7 KB
- Stars: 89
- Watchers: 3
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-star - w_popup_menu - up menu that mimics the iOS WeChat page | fluttercandies | 90 | (Dart)
README
# w_popup_menu
A pop-up menu that mimics the iOS WeChat page.
![](http://pic.d3collection.cn/2019-08-12-153347.png)
![](http://pic.d3collection.cn/2019-08-12-153309.png)
**[0.3.1]**
- 解决返回键不能消失menu的bug
**[0.3.0]**
- 修改弹出方式为 Overlay,为了解决弹出菜单时输入框会收起的问题
**[0.2.5]**
- 修复位置弹出错误的问题
**[0.2.4]**
- 修复了menu朝下时位置计算错误的问题。
- 更改了弹出的逻辑,更加友好。**[0.2.3]**
- 更新了「WPopupMenu」的构造函数,现在「WPopupMenu」的构造函数是和 「Container」一样的,在内部封装了一个Container,如果想要什么属性,例如margin的话,请直接在「WPopupMenu」的属性中添加,否则控件获取不到你的margin。
## Getting Started
### 1. Depend on it
Add this to your package's pubspec.yaml file:
```yaml
dependencies:
w_popup_menu: ^0.3.1
```### 2. Install it
You can install packages from the command line:
with Flutter:
```shell
$ flutter pub get
```Alternatively, your editor might support `flutter pub get`. Check the docs for your editor to learn more.
### 3. Import it
Now in your Dart code, you can use:
```dart
import 'package:w_popup_menu/w_popup_menu.dart';
```