Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

close datepicker on tap to date #4

Closed
mahmoudparandeh opened this issue Sep 20, 2019 · 1 comment
Closed

close datepicker on tap to date #4

mahmoudparandeh opened this issue Sep 20, 2019 · 1 comment

Comments

@mahmoudparandeh
Copy link

سلام اول از همه بابت این پیکری که نوشتین تشکر میکنم خیلی خوب هست و قابلیت شخصی سازی عالی داره. فقط یک مشکلی که من دارم و نتونستم شاید پیداش کنم. بسته شدن پیکر با انتخاب یک تاریخ هست. الان تنها گزینه ای که هست اینه روی فضای خالی بالای پیکر تپ کنیم تا بسته بشه؟ این گزینه اگر هست کدوم هست؟ اگر نیست اضافه کنین عالی میشه. با تشکر

@mahmoudparandeh
Copy link
Author

بالاخره خودم با یک روشی تونستم حلش کنم.
کافیه از متد onchaned استفاده کنیم به صورت زیر:
onChange: (String oldText, String newText) {
Navigator.pop(context);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant