FLUTTER ECOSYSTEM

Rodiii/flutter_cupertino_date_textbox

Flutter Cupertino 文本框,可用于使用 CupertinoDatePicker 选择日期

flutter_cupertino_date_textbox 项目封面
Stars
6
Forks
6
最近推送(UTC)
2022年12月27日
项目状态
未归档
Christoph Rothermel GitHub avatar
GITHUB User

Christoph Rothermel ↗

rot|h|echUlm, Germany官方网站 ↗
语言DartObjective-CJava

此仓库发布的插件

使用的依赖

依赖清单 3 项
  • flutter{"sdk":"flutter"}
  • intl^0.18.0
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

Flutter Cupertino Date Text Box

Example

A text box with an attached CupertinoDatePicker which opens when the text box is tapped.

With this library the following is possible:

  • Text Box / Text Field with multiple features to customize its style (e.g. font, padding, etc.)
  • Date callback can be used to get result date value

Quick Usage

Just fill the required parameters of CupertinoDateTextBox and you're ready to go, e.g.:

CupertinoDateTextBox(
    initialValue: DateTime.now(),
    onDateChange: onDateChangeCallback,
    hintText: 'Hint Text'))

You can find a full tutorial concerning CupertinoDateTextBox here Tutorial.

Please refer to the example for usage: Quick-Link

Bugs/Requests

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull Request are also welcome.