搜尋套件、儲存庫與 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.

所屬分類

原始碼儲存庫

使用此套件的專案