Questions tagged [flutter-datetime-picker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
66 views

how to add more than 24 hours in showtimepicker in flutter?

I have a question about this this timePicker : this is my code : final TimeOfDay? picked = await showTimePicker( context: context, initialTime: TimeOfDay....
behnami454's user avatar
0 votes
0 answers
64 views

Flutter how to make showDateRangePicker view only month?

Now my showDateRangePicker looks like this: I'm using the syncfusion_flutter_datepicker package looked at the documentation, couldn't find anything that could help me out How can I make my calendar ...
st4tic's user avatar
  • 347
0 votes
1 answer
131 views

Is there a way to override the height/width of the date picker created by showDatePicker?

I am trying to increase the height and width of the date picker dialog shown when calling showDatePicker(). It currently appears quite small on tablets and I want to make it easier to interact with by ...
a_kane's user avatar
  • 3
0 votes
1 answer
40 views

How to hide date in hours? - ToDo List App/Flutter

I am making a simple ToDO List App in Flutter(Dart). To the screen, where user can add your task I added a button, which open dialog with calendar, so user can choose the reminder date. Everything ...
xenonenias's user avatar
0 votes
2 answers
160 views

I want to change the date string of showDatePicker on flutter

I want to customize the color and the text of this showDatePicker with material3, on flutter I want to customize as this I need this text to be something like this "Seg, 17 de jul."
Igor Pereira's user avatar
1 vote
0 answers
42 views

Unable to customise data and time picker

I am trying to achieve this into my application But I am not able to customise my code. I just wanted to change Header color Pencil colour Selected date colour And in time picker Background of time ...
Sanjal's user avatar
  • 33
1 vote
0 answers
41 views

How do I replace/ add to current data stored in Shared Preferences dynamically flutter

Screen code I am building a timesheet function on flutter where I get a list from JSON like this [ { "date": "2023-02-06 00:00:00.000", "startTime": "2023-...
Casually Need Help's user avatar
9 votes
7 answers
5k views

By updating Flutter 3.8.0 Error in flutter_date_time_picker

By updating Flutter 3.8.0 I am getting the following error in flutter_date_time_picker. I would like to know if anyone knows a solution to this problem. ../../../../.pub-cache/git/...
autumn's user avatar
  • 101
4 votes
1 answer
535 views

How to change datepicker color in flutter?

builder: (context, child) { return Theme( data: Theme.of(context).copyWith( colorScheme: const ColorScheme.light( primary: ...
K.k's user avatar
  • 479
0 votes
3 answers
1k views

Flutter custom date format

I am facing issue while formatting the date to custom format. I need to convert date yyyy-MM-dd HH:mm:ss ===> EEEE, MMM dd, yyyy For example I am getting date from server 27-10-2022 11:02:50, and I ...
Dev Dhande's user avatar
-2 votes
2 answers
2k views

DateFormat dateFormat = DateFormat("yyyy-MM-dd"); To Month-Day-Year

DateFormat dateFormat = DateFormat("yyyy-MM-dd"); This line of code will not let me change the DateFormat to ("MM-dd-yyyy") without showing throwing an error in the app, or not ...
user avatar
0 votes
3 answers
2k views

Flutter DatePicker change format to MM-DD-YYYY

DatePicker.showDatePicker( context, showTitleActions: true, minTime: DateTime(1964, 1, 1), maxTime: ...
Powermaster Prime's user avatar
0 votes
1 answer
40 views

Date Picker is not showing when clicking the field - flutter

Im building a registration screen that contains a form of input fields, one of the fields is to input the date of birth from user by showing the Date Picker when the user clicks the field, first i ...
editix's user avatar
  • 358
2 votes
0 answers
234 views

FLUTTER- How to use selectableDayPredicate: in CupertinoDatePicker() widget?

in Material Design using showDatePicker() widget , we can customize selectable date in particular day using selectableDayPredicate: argument. so i have a list contains some DateTime(), this list is ...
Jilan Dirgantara's user avatar
0 votes
1 answer
1k views

Flutter, couldn't convert string to Date time format

I got data input in TextField using showDatePicker. I converted the selected data to String and parsed it to the format dd-mm-yy using intl format. According to docs DateFormat('ymd') is the way to do ...
Ganesh Sivakumar's user avatar
1 vote
4 answers
2k views

How can I get day name from string date '22 May 2022' in flutter

I am a beginner in Flutter, I want to get day name [like Sunday] from a date, date i am getting from api which is basically a string like '22 May 2022' How can i get that from this date '22 May 2022' ?...
alister james's user avatar
1 vote
1 answer
2k views

How do i get the current date and time of places around the world in flutter

i am currently working on a world clock app using flutter, can any one recommend dependencies or API i can integrate into my app that provide a list of places around the world, another issue i am ...
DewunmiRokeeb's user avatar
6 votes
2 answers
4k views

How to get Flutter FormBuilderDateTimePicker to show only the date picker

How can I get the Flutter FormBuilderDateTimePicker to only show the date? The code below produces a time picker after the date picker closes and the output is: flutter: 2022-04-02 00:00:00.000 I ...
markhorrocks's user avatar
  • 1,272
0 votes
1 answer
652 views

Setting the Day Period on TimeOfDay

Im trying to set the TimeOfDay behind the scenes without input from the time picker. The time is set correctly, but the Day Period is incorrect. I'm assuming it grabs this data from the time picker, ...
Gabriel's user avatar
  • 356
3 votes
1 answer
859 views

The method 'Utils' isn't defined for the type '_CalendarState'. Try correcting the name to the name of an existing method

I am getting errors on this flutter plugin: date_utils. I have run pug get so many times, onchange of the plugin versions. What could be the issue? It also gave me different errors like: "...
isofttechn's user avatar
0 votes
1 answer
167 views

The instance member 'noww' can't be accessed in an initializer

i have this date picker in my app, and i want the last date to be 3 years ago from the time using the app how can i solve it, i tried to give the last date now.year -3 but it doesn't work! it keeps ...
AhdOthman's user avatar
0 votes
1 answer
1k views

Flutter How to pick the previous date that are disabled?

Date picker screenshot hello I had a code here that can pick date and time but my problem is I cannot pick in the previous dates. who had an idea on how to open all the dates. like in my screenshot ...
Rayjay's user avatar
  • 25