When comparing GitHub Electron vs Flutter, the Slant community recommends Flutter for most people. In the question“What are the best tools for making a cross-platform application?” Flutter is ranked 3rd while GitHub Electron is ranked 8th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Relatively low barrier to entry
No need to learn native UI APIs for multiple platforms.
Pro Has a built in packager which allows you to package web apps
the electron packager tool allows you to package your web app for any target platform that you desire, as long as you provide the correct information.
Pro Open source
Pro Great developer tools debug/hotreload/analyser
Pro Based on Dart language
Dart is a Java like language, easy to learn and startup fast for millions of Java developers.
Pro A single codebase for iOS AND Android
Pro Fast
The developer's goal is to allow people to make apps running at 120 FPS.
Cons
Con Looks and feels like an alien
Con Microsoft
Developed by Microsoft-owned Github
Con Extra effort may be required to make things look native on each platform
Con Mobile platforms not supported
According to documentation only Windows, Linux and Mac are supported, no mobile platforms.
Con Heavyweight
Requires a bit of system memory, and makes applications bulky due to the fact that all your web apps made in electron work in a NodeJS Shell that is basically a web browser displaying your app.
Con Still in development
According to the website, Flutter is still in its early stages of development.
Con Based on Dart language
Dart is a Java like language, easy to learn and startup fast for millions of Java developers. BUT if you have to learn it ... it's a con.
Con Dart is unpopular and never gained serious community traction like Kotlin or Java
Con Does not support 32-bit iOS devices
If you plan on targeting iPhone 5, 5C or earlier, you can forget about Flutter.