This code is used to get the directory of the current plugin:
plugin_dir_url( __FILE__ ).
What should I use to get the directory of the current theme?
I think you have to be a little careful because it depends on what you are trying to do.
If you are using a child theme
If you wanted a fully formed URI, for links or images, you should use