v1.0.3cupertino_date_textbox
Cupertino 文本框,可使用 CupertinoDatePicker 选择日期
20喜欢 57近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
Flutter Cupertino 文本框,可用于使用 CupertinoDatePicker 选择日期
{"sdk":"flutter"}^0.18.0{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
Example
A text box with an attached CupertinoDatePicker which opens when the text box is tapped.
With this library the following is possible:
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
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.