stagexl_toolkit 0.1.2

  • Installing
  • Versions
  • 43

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

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:stagexl_toolkit/stagexl_toolkit.dart';
Version Uploaded Documentation Archive
0.1.2 Oct 31, 2018 Go to the documentation of stagexl_toolkit 0.1.2 Download stagexl_toolkit 0.1.2 archive
0.1.1 Dec 3, 2016 Go to the documentation of stagexl_toolkit 0.1.1 Download stagexl_toolkit 0.1.1 archive
0.1.0 Feb 20, 2016 Go to the documentation of stagexl_toolkit 0.1.0 Download stagexl_toolkit 0.1.0 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 Feb 20, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.13+1


Detected platforms: web

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

Health suggestions

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

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

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

line 223 col 11: Don't explicitly initialize variables to null.

line 229 col 7: Don't explicitly initialize variables to null.

line 255 col 11: Don't explicitly initialize variables to null.

line 424 col 18: Use isNotEmpty instead of length

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

Analysis of lib/src/timeline.dart reported 2 hints:

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

line 92 col 7: Don't explicitly initialize variables to null.

Format lib/src/button_helper.dart.

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

Format lib/src/movie_clip.dart.

Run dartfmt to format lib/src/movie_clip.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.

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.0+2
Transitive dependencies
charcode 1.1.2
collection 1.14.11
convert 2.1.1
petitparser 2.1.1
typed_data 1.1.6
xml 3.3.1