localize time in flutter code example Example: flutter localize time //If your time is of TimeOfDay type you can simply time.format(context);