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

flutter_cupertino_datetime_picker 封面
插件详情v3.0.0

flutter_cupertino_datetime_picker

源自 flutter_cupertino_date_picker https://github.com/wuzhendev/flutter-cupertino-date-picker,但年、月、日分开

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
1.3万
喜欢数
67
Pub 分数
140

安装插件

flutter pub add flutter_cupertino_datetime_picker

插件介绍

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

一个 Flutter 包,提供类似 Cupertino 的日期和时间选择器,包含独立的年、月、日滚轮。它是原始 flutter_cupertino_date_picker 的分支,经过修改以分别显示日期组件,从而实现更好的自定义和可用性。专为 iOS 风格界面设计,支持 Android、Web、macOS、Windows 和 Linux 等多个平台。该选择器具有流畅滚动和原生体验,非常适合需要精确日期选择的应用。

适合场景

  • 跨平台应用中的 iOS 风格日期选择
  • 可自定义日期轮盘布局
  • 需要精确日期输入的表单字段
  • 时区感知的日期选择器
  • 移动端和桌面端的用户体验得到增强

主要特点

  • 分离的年、月、日轮盘
  • Cupertino 设计语言
  • 跨平台兼容性
  • 平滑滚动界面
  • 可配置的日期范围限制
  • 支持日期和时间选择

适合对象

  • 开发 iOS 原生 UI 的开发者
  • 需要精细日期输入控制的应用程序
  • 面向多个操作系统的项目
  • 注重设计的应用程序
  • 偏好传统日期选择器布局的用户

使用建议

  • 需要手动处理时区
  • 仅限基本的日期/时间格式
  • 可能需要为非Cupertino主题添加额外的样式
  • 未针对非常大的日期范围进行优化
  • 依赖底层平台渲染来实现动画

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Flutter Cupertino DateTime Picker

Pub

| 中文说明

Flutter cupertino datetime picker. Fork from Flutter Cupertino Date Picker

Example

License

Copyright 2020 ykrank

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

所属分类

源码仓库

使用此插件的项目