stagexl_toolkit 0.1.2

  • Readme
  • Changelog
  • Installing
  • 31

StageXL_Toolkit #

The 'Toolkit for Dart' runtime for the StageXL library.

Build Status

##Toolkit for Dart

The Toolkit for Dart is an extension to Flash Professional CC to publish artwork and animation to the Dart language, which is a class-based, object-oriented language and compiles to efficient JavaScript that is being developed as open source by Google. The extension creates a fully functional and cleanly organized Dart project, leveraging the StageXL for Dart library to reproduce Flash runtime features.

Toolkit for Dart supports many of the core animation and drawing capabilities of Flash Pro, including bitmaps, shapes, movie clips, graphic symbols, classic tweens and motion guides, simple buttons, text fields, drop-shadow and glow filters, additive blend mode, single-shape masks, visible and cacheAsBitmap display options, and embedded audio.



changelog #

This file contains highlights of what changes on each version of the StageXL_Toolkit package. This file is normally updated whenever we push a new version to pub.

Pub version 0.1.0 #

  • Raised dependency to StageXL 1.0.0

Pub version 0.1.0 #

  • Create a dedicated 'Toolkit for Dart' package.
  • Removed the 'Toolkit for Dart' related code from StageXL.
  • Initial commit.

Use this package as a library

1. Depend on it

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

  stagexl_toolkit: ^0.1.2

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:stagexl_toolkit/stagexl_toolkit.dart';
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 20, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4

Health suggestions

Fix lib/src/timeline_tween.dart. (-25 points)

Analysis of lib/src/timeline_tween.dart reported 58 hints, including:

line 65 col 3: Prefer using /// for doc comments.

line 70 col 3: Prefer using /// for doc comments.

line 75 col 3: Prefer using /// for doc comments.

line 83 col 3: Prefer using /// for doc comments.

line 108 col 12: Unnecessary new keyword.

Fix lib/src/timeline.dart. (-13.09 points)

Analysis of lib/src/timeline.dart reported 28 hints, including:

line 66 col 3: Prefer using /// for doc comments.

line 71 col 3: Prefer using /// for doc comments.

line 77 col 3: Prefer using /// for doc comments.

line 83 col 3: Prefer using /// for doc comments.

line 86 col 17: Don't explicitly initialize variables to null.

Fix lib/src/movie_clip.dart. (-11.78 points)

Analysis of lib/src/movie_clip.dart reported 25 hints, including:

line 36 col 3: Prefer using /// for doc comments.

line 42 col 3: Prefer using /// for doc comments.

line 47 col 3: Prefer using /// for doc comments.

line 53 col 3: Prefer using /// for doc comments.

line 59 col 3: Prefer using /// for doc comments.

Format lib/src/button_helper.dart.

Run dartfmt to format lib/src/button_helper.dart.

Format lib/stagexl_toolkit.dart.

Run dartfmt to format lib/stagexl_toolkit.dart.

Maintenance issues and suggestions

Use constrained dependencies. (-20 points)

The pubspec.yaml contains 1 dependency without version constraints. Specify version ranges for the following dependencies: stagexl.

Package is getting outdated. (-21.92 points)

The package was last published 63 weeks ago.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and stagexl_toolkit.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.

The package description is too short. (-5 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
stagexl >=1.4.0 1.4.2
Transitive dependencies
charcode 1.1.2
collection 1.14.12
convert 2.1.1
meta 1.1.8
petitparser 3.0.0
typed_data 1.1.6
xml 3.7.0