If you need some additional methods to work with DateTime in Flutter, make sure to check out the DateUtils class from the material package P.S. Do you already use the DateUtils class or do you write custom methods for DateTime? #flutter #flutterdevelopment
These are some really good extensions! Thanks for sharing this with us??
Does anyone know if `DateTimeRange` has an equivalent type in PostgreSQL?
Never knew about this, super helpful!
Thanks for sharing! for such cases I mostly use extensions. ??
Amer Be?o hello do you have any idea how can I integrate clap sound detection in flutter
I wrote custom methods, however in a different approach. In a simple flutter application. I have to upload chat voices to cloud_firestore, when it comes to reading them back from the cloud, I have to use some pre-cache logic to know their durations, then get the actual data, then it takes two reads per each voice so it's too costly! Since firebase business-logic counts reads. To overcome this, I have used to upload an integer attribute (which holds the voice duration in milliseconds) with the voice message download link to cloud_firestore together. Finally, it takes one read per each voice. while getting them back from the cloud.
Freelance Flutter Engineer & Consultant | Building Flutter apps for Startups and Companies | Available for Client Work
12 个月?? Here you can read more about DateUtils class: https://api.flutter.dev/flutter/material/DateUtils-class.html