How to Display Date Picker When TextFormfield/TextField is Taped in Flutter?

preview_player
Показать описание
TextField Widget is used to get data from users and perform the desired operation. Sometimes users need to show data that requires showing date picker in a mobile application. In today's tutorial video, we will show you how a developer can display datepicker when TextFormfield/TextField is taped while developing an application in Flutter.

Follow Us On

Рекомендации по теме
Комментарии
Автор

You forgot to show that it is necessary to install flutter's "intl" dependency. Add "import 'package:intl/intl.dart';" in the file and then use the "DateFormat" function.

giovanecarlesso
Автор

I see ppl saying don't work check ur code, for me work great thanks

xXxXxMrGamexXxXx
Автор

You didn't talk about a library (Date Format).Just add (intl: ^0.17.0)

crazy_games
Автор

Hi, how to load the data to firebase?

diboscio
Автор

how can we set the date and time as string?

sageat
Автор

I need to save this in my database as a timestamp, 3 days on it and nothing!

leonardopereira