Flutter is officially production-ready for the web. While support has been present and evolving for quite some time, Flutter 2 officially adds support for Progressive Web Apps (PWAs) and Single Page Apps (SPAs), new features like URL rewriting and keyboard shortcuts, and much more.

The framework now takes into account the target device to determine the best rendering method, such as HTML, Canvas, WebGL, or WebAssembly. And whenever possible, the platform-native functionality is automatically used, like keyboard shortcuts on desktop or gestures and software keyboards on mobile devices.

Flutter’s web engine offers a choice of two renderers: an HTML renderer that is optimized for size and broad compatibility, and a CanvasKit renderer that uses WebAssembly and WebGL to render Skia paint commands to the browser canvas.


Available packages

 

firebase

These products are supported in web apps:
– firebase_analytics
– firebase_auth
– cloud_firestore
– cloud_functions
– firebase_messaging
– firebase_storage
– firebase_core
The FlutterFire page has a table that shows what Firebase products work in which environment: https://github.com/FirebaseExtended/flutterfire.

database plugins
  • shared_preferences
  • localstorage
state management
  • provider
  • flutter_bloc
  • get
http client
  • http
  • dio
social login
  • google_sign_in
  • flutter_facebook_login
notifications
  • firebase_messaging
map
  • location
  • flutter_google_places
  • google_maps_flutter – not available
internationalization
  • intl