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.