pixmap 0.2.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 44

pixmap

A simple sprite library for Dart web applications.

Warning: This is not an official Google or Dart project.

0.2.0

  • Fixed a bug that prevented SpriteMap[] from returning the right Sprite.

0.1.0

  • Initial commit.

Use this package as a library

1. Depend on it

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


dependencies:
  pixmap: "^0.2.0"

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:pixmap/pixmap.dart';
  
Version Uploaded Documentation Archive
0.2.0 Jun 14, 2017 Go to the documentation of pixmap 0.2.0 Download pixmap 0.2.0 archive
0.1.0 Jun 14, 2017 Go to the documentation of pixmap 0.1.0 Download pixmap 0.1.0 archive

Analysis

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

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

Scores

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

Platforms

Detected platforms: web

Primary library: package:pixmap/pixmap.dart with components: html.

Suggestions

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 error 1 hint.

    Strong-mode analysis of lib/pixmap.dart failed with the following error:

    line: 79 col: 7
    Missing concrete implementations of 'Map.addEntries', 'Map.cast', 'Map.map', 'Map.removeWhere' and 4 more.

  • 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 pixmap.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.22.0 <2.0.0
collection ^1.0.0 1.14.10