25 questions
0
votes
1
answer
231
views
Changing Flutter Date Picker Locale
I'm trying to integrate different date formats across screens based on user preferences,
DD/MM/YYYY
MM/DD/YYYY
YYYY/MM/DD
Flutter's showDatePicker function has an input field with which user can ...
0
votes
2
answers
1k
views
Detect whether Date & Time is set automatically or manually in Flutter
Is their any way or plugin available to detect whether the device Date & time is set automatically or user has entered manually
i can get proper current Date time with
await NTP.now(timeout: ...
0
votes
0
answers
235
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....
0
votes
2
answers
98
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 ...
1
vote
0
answers
65
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
...
9
votes
7
answers
6k
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/...
0
votes
3
answers
2k
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 ...
1
vote
3
answers
6k
views
Flutter DatePicker change format to MM-DD-YYYY
DatePicker.showDatePicker(
context,
showTitleActions: true,
minTime: DateTime(1964, 1, 1),
maxTime: ...
2
votes
0
answers
339
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 ...
1
vote
4
answers
3k
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' ?...
8
votes
2
answers
7k
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 ...
3
votes
1
answer
982
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:
"...
0
votes
1
answer
2k
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 ...