title: How to get build and version number of Flutter Web app
body: <p>The keyword here is <strong>Web</strong>. I can get the build and version number of a Flutter app by using the <a href="https://pub.dev/packages/package_info" rel="noreferrer">package_info</a> plugin, but if it is running on the web I can't. How do I get the package info for a Flutter Web app?</p>
  
  <p>I'll include an answer below as a temporary fix, but I am looking a solution that gets the version info from pubspec.yaml.</p>