Flutter Picker Plus 是一个功能丰富的选择器库,提供可自定义的 NumberPicker、DateTimePicker、ArrayPicker 和联动选择器功能。设计灵活,支持多种配置,以满足跨平台的各种 UI 需求。它可在 Android、iOS、Web、macOS、Windows 和 Linux 上无缝集成,使开发者能够轻松创建动态、交互式的选择界面。该包通过提供针对不同数据类型和使用场景优化的流畅、响应迅速的选择器,显著提升用户体验。
适合场景
带有数值输入的表单字段
应用中的日期和时间选择
带有数组选项的自定义下拉菜单
多级链接选择
动态表单构建器
用户偏好设置
主要特点
支持多种选择器类型
可配置的嵌套选择链接
跨平台兼容性
可扩展的自定义选项
流畅的动画
响应式设计
适合对象
开发需要复杂输入的表单的开发者
需要日期/时间选择器的应用程序
具有自定义选择组件的UI密集型应用
跨平台 Flutter 项目
寻求可重用选择器解决方案的团队
使用建议
需要了解 Flutter 状态管理
可能需要额外的样式以保持外观一致
除了基本示例外,文档有限
大数据集可能带来的性能影响
不适合简单的单值选择
原始 README
以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。
flutter_picker_plus
A powerful and customizable picker widget for Flutter applications. Continuation of the popular flutter_picker package with enhanced features and modern Flutter support.
✨ Features
🎯 Multiple Picker Types: Number, DateTime, Array, and custom data pickers
🌐 Internationalization: Support for 20+ languages including RTL languages
🎨 Highly Customizable: Flexible styling, colors, and layouts
Arabic • Bengali • Chinese • English • French • German • Greek • Hindi • Indonesian • Italian • Japanese • Korean • Portuguese • Romanian • Russian • Spanish • Turkish • Urdu • Javanese • Vietnamese • Slovenian
Supporting 20+ languages including the most widely spoken languages worldwide.
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
📄 License
This project is licensed under the BSD-3-Clause License - see the LICENSE file for details.
🙏 Acknowledgments
This package is a continuation of the original flutter_picker package with additional features and improvements.
For more examples and detailed documentation, check out the example app.