Syncfusion Flutter 日期选择器为 Flutter 应用提供了一个可自定义的日期和日期范围选择控件。它支持四种内置视图——日、月、年和十年,便于用户在日期间直观导航。用户可以轻松选择单个日期或日期范围,非常适合用于日程安排、预订和表单输入。该控件高度可配置,并可在 Android、iOS、Web、macOS、Windows 和 Linux 平台上无缝集成。
适合场景
预订系统
调度应用程序
表单日期输入
旅行规划工具
事件注册
按日期筛选数据
主要特点
四个导航视图(日、月、年、十年)
日期范围选择支持
跨平台兼容性
可自定义的 UI 和样式
内置本地化
可访问性增强
适合对象
开发基于日历功能的开发者
需要选择日期范围的应用
企业级 Flutter 应用
多平台日期输入需要
需要丰富日期交互的用户
使用建议
需要额外的包依赖
可能会略微增加应用大小
高级自定义需要对 Syncfusion 组件有更深入的了解
受限于 Syncfusion 的许可条款
不适用于没有高级功能的极简日期选择器
原始 README
以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。
Syncfusion Flutter Widgets
Syncfusion Flutter widgets libraries include high-quality UI widgets and file-format packages to help you create rich, high-quality applications for iOS, Android, and web from a single code base. Please find the supported platforms for our Flutter widgets.
Disclaimer: This is a commercial package. To use our packages, you need to have either the Syncfusion Commercial License or Syncfusion Community license. For more details, please check the LICENSE file.
This repository holds the source code of all the Syncfusion Flutter widgets and libraries. Source code of the widget, a working example, read me, changelog, etc., files are available in the packages directory.
Refer the required package in your application's pubspec.yaml file by mentioning its local path. For example, here we have referred the charts package.
Run the following command to get the required packages.
$ flutter pub get
Note: In the example, packages are referred from the local folder which is available in this repository. If you wish, you can also refer the packages from pub.
Step 4
Run your application either using F5 or Run > Start Debugging.
Get the demo application
Explore the full capabilities of our Flutter widgets on your device by installing our sample browser applications from the below app stores, and view samples code in GitHub.
Useful links
Take a look at the following to learn more about Syncfusion Flutter widgets:
To renew the subscription, click renew or contact our sales team at salessupport@syncfusion.com | Toll Free: 1-888-9 DOTNET.
About Syncfusion
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 20,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.