electron 0.0.3+1

  • README.md
  • Installing
  • Versions
  • 58


electron.dart is a wrapper of the electron API in dart


This is under development so if you have suggestion on the existing API or you find a bug don't hesitate to fill an issue :)


You can find examples on how to use this package in the electron_examples repos


Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  electron: "^0.0.3+1"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

      import 'package:electron/electron_main.dart';
Version Uploaded Documentation Archive
0.0.3+1 Jul 21, 2016 Go to the documentation of electron 0.0.3+1 Download electron 0.0.3+1 archive
0.0.3 Jul 21, 2016 Go to the documentation of electron 0.0.3 Download electron 0.0.3 archive
0.0.2 Apr 30, 2015 Go to the documentation of electron 0.0.2 Download electron 0.0.2 archive
0.0.1 Apr 30, 2015 Go to the documentation of electron 0.0.1 Download electron 0.0.1 archive


We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
52 / 100
Code health derived from static analysis. [more]
100 / 100
Reflects how tidy and up-to-date the package is. [more]
8 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: web, other

Platform components identified in package: js.


  • Package is getting outdated.

    The package was released 99 weeks ago.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use electron.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0
js >=0.6.0 <0.7.0 0.6.1
nodejs >=0.0.1 <0.1.0 0.0.1
Transitive dependencies
async 2.0.7
barback 0.15.2+16
charcode 1.1.1
collection 1.14.10
path 1.6.1
pool 1.3.5
source_span 1.4.0
stack_trace 1.9.2
Dev dependencies
test >=0.12.0 <0.13.0