spaceinvaders 2.0.8

  • Installing
  • Versions
  • 42

Space Invaders 4 Dart

The classic Space Invaders game written with Dart and Material 4 Dart.

See it Live:


Example for Component


Copyright 2018 Michael Mitterer (,
IT-Consulting and Development Limited, Austrian Branch

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
either express or implied. See the License for the specific language
governing permissions and limitations under the License.

If this plugin is helpful for you - please (Circle) me or star this repo here on GitHub

Change Log for spaceinvaders

Space-Invaders built with Material Design Lite 4 Dart



v1.2 - 2018-03-26


  • Removed Dice, changed to DryIce 72e8ae6

v1.1.0 - 2016-11-16


  • SCSS-Styles now with sitegen-support, no need for packages-folder anymore 2b23255

v1.0.2 - 2016-11-16


v1.0.0 - 2016-03-18



v0.1.0 - 2015-12-18


This was generated with Changelog for Dart

Use this package as a library

1. Depend on it

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

  spaceinvaders: ^2.0.8

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:spaceinvaders/spaceinvaders.dart';
Version Uploaded Documentation Archive
2.0.8 Dec 21, 2018 Go to the documentation of spaceinvaders 2.0.8 Download spaceinvaders 2.0.8 archive
2.0.2 Dec 21, 2018 Go to the documentation of spaceinvaders 2.0.2 Download spaceinvaders 2.0.2 archive
1.1.0 Nov 16, 2016 Go to the documentation of spaceinvaders 1.1.0 Download spaceinvaders 1.1.0 archive
1.0.2 Nov 16, 2016 Go to the documentation of spaceinvaders 1.0.2 Download spaceinvaders 1.0.2 archive
1.0.1 Mar 18, 2016 Go to the documentation of spaceinvaders 1.0.1 Download spaceinvaders 1.0.1 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 15, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.10


Detected platforms: web

Primary library: package:spaceinvaders/spaceinvaders.dart with components: html, js.

Health suggestions

Format lib/components.dart.

Run dartfmt to format lib/components.dart.

Format lib/components/ArcadeButtonComponent.dart.

Run dartfmt to format lib/components/ArcadeButtonComponent.dart.

Format lib/components/ButtonLabelComponent.dart.

Run dartfmt to format lib/components/ButtonLabelComponent.dart.

Fix additional 18 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/components/StatusBarComponent.dart (Run dartfmt to format lib/components/StatusBarComponent.dart.)
  • lib/components/StatusMessageComponent.dart (Run dartfmt to format lib/components/StatusMessageComponent.dart.)
  • lib/components/interface/actions.dart (Run dartfmt to format lib/components/interface/actions.dart.)
  • lib/components/interface/store.dart (Run dartfmt to format lib/components/interface/store.dart.)
  • lib/gamestate.dart (Run dartfmt to format lib/gamestate.dart.)
  • lib/services.dart (Run dartfmt to format lib/services.dart.)
  • lib/spaceinvaders.dart (Run dartfmt to format lib/spaceinvaders.dart.)
  • lib/spaceinvaders/FrameHandler.dart (Run dartfmt to format lib/spaceinvaders/FrameHandler.dart.)
  • lib/spaceinvaders/InputHandler.dart (Run dartfmt to format lib/spaceinvaders/InputHandler.dart.)
  • lib/spaceinvaders/Magazin.dart (Run dartfmt to format lib/spaceinvaders/Magazin.dart.)
  • lib/spaceinvaders/SpeedGenerator.dart (Run dartfmt to format lib/spaceinvaders/SpeedGenerator.dart.)
  • lib/spaceinvaders/SpriteFactory.dart (Run dartfmt to format lib/spaceinvaders/SpriteFactory.dart.)
  • lib/spaceinvaders/drawables.dart (Run dartfmt to format lib/spaceinvaders/drawables.dart.)
  • lib/spaceinvaders/painter.dart (Run dartfmt to format lib/spaceinvaders/painter.dart.)
  • lib/spaceinvaders/screen.dart (Run dartfmt to format lib/spaceinvaders/screen.dart.)
  • lib/spaceinvaders/sprite.dart (Run dartfmt to format lib/spaceinvaders/sprite.dart.)
  • lib/store.dart (Run dartfmt to format lib/store.dart.)
  • lib/store/SpaceInvaderStoreImpl.dart (Run dartfmt to format lib/store/SpaceInvaderStoreImpl.dart.)

Maintenance issues and suggestions

Use analysis_options.yaml. (-10 points)

Rename old .analysis_options file to analysis_options.yaml.

Read more about the setup of analysis-options.yaml.

The description is too short. (-20 points)

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

Maintain an example. (-10 points)

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 spaceinvaders.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
console_log_handler ^1.0.0 1.1.3
logging >=0.11.3 <1.0.0 0.11.3+2
m4d_animation >=0.1.0 <1.0.0 0.1.4
m4d_components >=0.1.0 <1.0.0 0.1.29
m4d_core >=0.1.0 <1.0.0 0.2.0
m4d_flux >=0.1.0 <1.0.0 0.1.0
validate ^1.0.0 1.7.0
Transitive dependencies
analyzer 0.32.6 0.34.1
ansicolor 1.0.2
args 1.5.1
async 2.0.8
build_cli_annotations 1.0.1
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
csslib 0.14.6
dart_style 1.1.3 1.2.2
front_end 0.1.4+2 0.1.8
glob 1.1.7
html 0.13.3+3
intl 0.15.7
intl_translation 0.17.1 0.17.2
kernel 0.3.4+2 0.3.8
l10n 2.0.15
matcher 0.12.4
meta 1.1.7
optional 3.0.0+2
package_config 1.0.5
path 1.6.2
petitparser 1.7.7 2.1.0
platform_detect 1.3.5
plugin 0.2.0+3
pub_semver 1.4.2
source_span 1.5.1
stack_trace 1.9.3
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
where 4.4.0 6.0.0
yaml 2.1.15
Dev dependencies
build_runner any
build_test any
build_web_compilers any
sass_builder any
test any