Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about timeago

Read more about timeago

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - timeago

Flutter Instance of 'Future<Translation>' i keep getting this on my print

i trying to translate a string and show it to my screen but when i try to check the text on print it say Instance of Future<Translation> this is my code when i try to use then(print) final fina...
test-img

user18090028

flutter

dart

translate

timeago

Votes: 0

Answers: 3

Latest Answer

The translate is an async function. The then is waiting for the translate function to complete and return your Translation. In the second case, you have no then so you are not waiting for it to comple...
test-img

Charles Rostaing

Flutter is there any way to make an dynamical timestamp that print something like 10 minute ago, 1 hour agor, or 2 month ago

i already send my lastseen timestamp into firebase and how can i deduct the current timestamp with the one that i already sent to firestore. that will give me Last Seen 15 minutes ago, or maybe a long...
test-img

user18090028

android

flutter

timestamp

timeago

Votes: 0

Answers: 1

Latest Answer

final DateTime lastSeen = DateTime.parse(yourDataFromFireStore); final Duration timePassed = DateTime.now().difference(lastSeen); The timePassed variable will then hold the duration that passed since...
test-img

TheUltimateOptimist

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved