title: Do flutter plugins for desktop have to be written in platform specific languages (like windows we use C++ and mac we use Swift)
body: <p>Good day people. </p>
  
  <p>I'm new to flutter and dart so as much help will be appreciated </p>
  
  <p>I have a plug in for flutter that's currently written in Java in the android directory. I want the same plugin to be able to run on other platforms like windows and mac. Do I have to rewrite this plugin in C++ for windows and Swift for macos or can I use the java files in those directories. </p>
  
  <p>If I can use the same Java files can someone please let me know how to move these files across to the the other directories and what I need to do for my flutter app to pick up these plugins for the other platforms.</p>