搜索插件、代码仓与 APP 分类

syncfusion_flutter_datepicker 封面
插件详情v35.1.42

syncfusion_flutter_datepicker

Flutter 日期范围选择器小部件允许用户轻松选择日期或日期范围。它具有四个内置视图,可快速导航到所需日期。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
23.8万
喜欢数
1640
Pub 分数
150

安装插件

flutter pub add syncfusion_flutter_datepicker

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

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.

Table of contents

Repository structure

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.

Also, you can view the samples code from this repository.

Packages

Package/Plugin Available widgets/libraries Pub Points Popularity Likes
syncfusion_flutter_chat
  • SfChat
pub package pub points popularity likes
syncfusion_flutter_charts
  • SfCartesianChart
  • SfCircularChart
  • SfPyramidChart
  • SfFunnelChart
pub package pub points popularity likes
syncfusion_flutter_calendar
  • SfCalendar
pub package pub points popularity likes
syncfusion_flutter_datagrid
  • SfDataGrid
pub package pub points popularity likes
syncfusion_flutter_pdfviewer
  • SfPdfViewer
pub package pub points popularity likes
syncfusion_flutter_pdf
  • PDF library
pub package pub points popularity likes
syncfusion_flutter_xlsio
  • XlsIO library
pub package pub points popularity likes
syncfusion_flutter_datepicker
  • SfDateRangePicker
pub package pub points popularity likes
syncfusion_flutter_maps
  • SfMaps
pub package pub points popularity likes
syncfusion_flutter_gauges
  • SfRadialGauge
pub package pub points popularity likes
syncfusion_flutter_sliders
  • SfSlider
  • SfRangeSlider
  • SfRangeSelector
pub package pub points popularity likes
syncfusion_flutter_signaturepad
  • SfSignaturePad
pub package pub points popularity likes
syncfusion_flutter_barcodes
  • SfBarcodeGenerator
pub package pub points popularity likes
syncfusion_officechart
  • Office chart library
pub package pub points popularity likes
syncfusion_officecore This package is a dependecy package for Office chart library. pub package pub points popularity likes
syncfusion_flutter_core This package is a dependecy package for all the Syncfusion Flutter widgets and libraries. pub package pub points popularity likes
syncfusion_localizations This package contains localized text for 77 cultures for all the applicable Syncfusion Flutter Widgets. pub package pub points popularity likes

How to use

Referring packages source in your application

All the packages available in the packages folder can be referred in your application by following the below steps.

Step 1

Clone the flutter-widgets repository into your machine.

Step 2

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.

syncfusion_flutter_charts:
    path: D:/flutter-widgets/packages/syncfusion_flutter_charts

Step 3

Run the following command to get the required packages.

$ flutter pub get

Step 4

Run your application using the following commands:

Windows & Linux

Run code: Ctrl + F5

Run with debugging: F5 or Run > Start Debugging

Stop debugging: Shift + F5

Restart debugging: Ctrl + Shift + F5

MacOS

Run code: Cmd + F5

Run with debugging: F5 or Run > Start Debugging

Stop debugging: Shift + Cmd + F5

Restart debugging: Cmd + Shift + F5

Web (VS Code in the Browser)

Run code: Ctrl + F5

Run with debugging: F5 or Run > Start Debugging

Running the available example

All the packages available in the packages folder has an example and it can be run by following the below steps.

Step 1

Clone the flutter-widgets repository into your machine.

Step 2

Open the example folder available in packages in an IDE. The below path is for reference.

..\flutter-widgets\packages\syncfusion_flutter_charts\example

Step 3

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:

Support and feedback

  • For any other queries, reach our Syncfusion support team or post the queries through the Community forums and submit a feature request or a bug through our Feedback portal.
  • 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.

Today we provide 1,000+ controls and frameworks for web (ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and Blazor, mobile (Xamarin, Flutter, UWP, and JavaScript), and desktop development (WinForms, WPF, and UWP). We provide ready-to deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.

所属分类

依赖

依赖清单 2 项

  • intl>=0.18.1 <0.21.0
  • syncfusion_flutter_core^35.1.42

源码仓库

使用此插件的项目