flare_dart 1.2.3

  • README.md
  • Installing
  • Versions
  • new76

Flare-Dart #

Flutter runtime written in Dart

Installation #

Add flare_dart as a dependency in your pubspec.yaml file.

License #

See the LICENSE file for license rights and limitations (MIT).

Use this package as a library

1. Depend on it

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


dependencies:
  flare_dart: ^1.2.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:flare_dart/actor.dart';
import 'package:flare_dart/actor_artboard.dart';
import 'package:flare_dart/actor_axis_constraint.dart';
import 'package:flare_dart/actor_bone.dart';
import 'package:flare_dart/actor_bone_base.dart';
import 'package:flare_dart/actor_color.dart';
import 'package:flare_dart/actor_component.dart';
import 'package:flare_dart/actor_constraint.dart';
import 'package:flare_dart/actor_distance_constraint.dart';
import 'package:flare_dart/actor_drawable.dart';
import 'package:flare_dart/actor_ellipse.dart';
import 'package:flare_dart/actor_event.dart';
import 'package:flare_dart/actor_flags.dart';
import 'package:flare_dart/actor_ik_constraint.dart';
import 'package:flare_dart/actor_image.dart';
import 'package:flare_dart/actor_jelly_bone.dart';
import 'package:flare_dart/actor_node.dart';
import 'package:flare_dart/actor_node_solo.dart';
import 'package:flare_dart/actor_path.dart';
import 'package:flare_dart/actor_polygon.dart';
import 'package:flare_dart/actor_rectangle.dart';
import 'package:flare_dart/actor_root_bone.dart';
import 'package:flare_dart/actor_rotation_constraint.dart';
import 'package:flare_dart/actor_scale_constraint.dart';
import 'package:flare_dart/actor_shape.dart';
import 'package:flare_dart/actor_skin.dart';
import 'package:flare_dart/actor_skinnable.dart';
import 'package:flare_dart/actor_star.dart';
import 'package:flare_dart/actor_targeted_constraint.dart';
import 'package:flare_dart/actor_transform_constraint.dart';
import 'package:flare_dart/actor_translation_constraint.dart';
import 'package:flare_dart/actor_triangle.dart';
import 'package:flare_dart/animation/actor_animation.dart';
import 'package:flare_dart/animation/interpolation/cubic.dart';
import 'package:flare_dart/animation/interpolation/cubic_ease.dart';
import 'package:flare_dart/animation/interpolation/hold.dart';
import 'package:flare_dart/animation/interpolation/interpolator.dart';
import 'package:flare_dart/animation/interpolation/linear.dart';
import 'package:flare_dart/animation/keyframe.dart';
import 'package:flare_dart/animation/property_types.dart';
import 'package:flare_dart/binary_reader.dart';
import 'package:flare_dart/block_reader.dart';
import 'package:flare_dart/block_types.dart';
import 'package:flare_dart/dependency_sorter.dart';
import 'package:flare_dart/jelly_component.dart';
import 'package:flare_dart/json_block_reader.dart';
import 'package:flare_dart/json_reader.dart';
import 'package:flare_dart/math/aabb.dart';
import 'package:flare_dart/math/mat2d.dart';
import 'package:flare_dart/math/transform_components.dart';
import 'package:flare_dart/math/vec2d.dart';
import 'package:flare_dart/path_point.dart';
import 'package:flare_dart/stream_reader.dart';
import 'package:flare_dart/transform_space.dart';
  
Version Uploaded Documentation Archive
1.2.3 Feb 13, 2019 Go to the documentation of flare_dart 1.2.3 Download flare_dart 1.2.3 archive
1.2.2 Feb 4, 2019 Go to the documentation of flare_dart 1.2.2 Download flare_dart 1.2.2 archive
1.2.1 Feb 1, 2019 Go to the documentation of flare_dart 1.2.1 Download flare_dart 1.2.1 archive
1.2.0 Jan 23, 2019 Go to the documentation of flare_dart 1.2.0 Download flare_dart 1.2.0 archive
1.1.0 Jan 18, 2019 Go to the documentation of flare_dart 1.1.0 Download flare_dart 1.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
76
Health:
Code health derived from static analysis. [more]
94
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
76
Learn more about scoring.

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

  • Dart: 2.1.0
  • pana: 0.12.13

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Health issues and suggestions

Document public APIs. (-1 points)

1297 out of 1297 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix lib/actor_shape.dart. (-1.49 points)

Analysis of lib/actor_shape.dart reported 3 hints:

line 29 col 25: Use isNotEmpty instead of length

line 30 col 29: Use isNotEmpty instead of length

line 211 col 11: Use isNotEmpty instead of length

Fix lib/actor_ik_constraint.dart. (-1 points)

Analysis of lib/actor_ik_constraint.dart reported 2 hints:

line 49 col 37: Use isEmpty instead of length

line 166 col 9: Use isEmpty instead of length

Fix lib/animation/actor_animation.dart. (-1 points)

Analysis of lib/animation/actor_animation.dart reported 2 hints:

line 170 col 9: Use isEmpty instead of length

line 293 col 7: The value of the field '_fps' isn't used.

Fix additional 7 files with analysis or formatting issues. (-1.50 points)

Additional issues in the following files:

  • lib/actor.dart (1 hint)
  • lib/actor_image.dart (1 hint)
  • lib/actor_skinnable.dart (1 hint)
  • lib/actor_color.dart (Run dartfmt to format lib/actor_color.dart.)
  • lib/actor_flags.dart (Run dartfmt to format lib/actor_flags.dart.)
  • lib/actor_node.dart (Run dartfmt to format lib/actor_node.dart.)
  • lib/animation/interpolation/cubic.dart (Run dartfmt to format lib/animation/interpolation/cubic.dart.)

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

The package description is too short. (-20 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.

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 flare_dart.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.58.0 <3.0.0