flare_flutter 1.0.10 flare_flutter: ^1.0.10 copied to clipboard
Vector design and runtime animation for Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flare_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flare_flutter: ^1.0.10
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flare_flutter/flare.dart';
import 'package:flare_flutter/flare/actor.dart';
import 'package:flare_flutter/flare/actor_artboard.dart';
import 'package:flare_flutter/flare/actor_axis_constraint.dart';
import 'package:flare_flutter/flare/actor_bone.dart';
import 'package:flare_flutter/flare/actor_bone_base.dart';
import 'package:flare_flutter/flare/actor_color.dart';
import 'package:flare_flutter/flare/actor_component.dart';
import 'package:flare_flutter/flare/actor_constraint.dart';
import 'package:flare_flutter/flare/actor_distance_constraint.dart';
import 'package:flare_flutter/flare/actor_drawable.dart';
import 'package:flare_flutter/flare/actor_ellipse.dart';
import 'package:flare_flutter/flare/actor_event.dart';
import 'package:flare_flutter/flare/actor_flags.dart';
import 'package:flare_flutter/flare/actor_ik_constraint.dart';
import 'package:flare_flutter/flare/actor_image.dart';
import 'package:flare_flutter/flare/actor_jelly_bone.dart';
import 'package:flare_flutter/flare/actor_loader.dart';
import 'package:flare_flutter/flare/actor_node.dart';
import 'package:flare_flutter/flare/actor_node_solo.dart';
import 'package:flare_flutter/flare/actor_path.dart';
import 'package:flare_flutter/flare/actor_polygon.dart';
import 'package:flare_flutter/flare/actor_rectangle.dart';
import 'package:flare_flutter/flare/actor_root_bone.dart';
import 'package:flare_flutter/flare/actor_rotation_constraint.dart';
import 'package:flare_flutter/flare/actor_scale_constraint.dart';
import 'package:flare_flutter/flare/actor_shape.dart';
import 'package:flare_flutter/flare/actor_skin.dart';
import 'package:flare_flutter/flare/actor_skinnable.dart';
import 'package:flare_flutter/flare/actor_star.dart';
import 'package:flare_flutter/flare/actor_targeted_constraint.dart';
import 'package:flare_flutter/flare/actor_transform_constraint.dart';
import 'package:flare_flutter/flare/actor_translation_constraint.dart';
import 'package:flare_flutter/flare/actor_triangle.dart';
import 'package:flare_flutter/flare/animation/actor_animation.dart';
import 'package:flare_flutter/flare/animation/keyframe.dart';
import 'package:flare_flutter/flare/animation/property_types.dart';
import 'package:flare_flutter/flare/binary_reader.dart';
import 'package:flare_flutter/flare/block_reader.dart';
import 'package:flare_flutter/flare/block_types.dart';
import 'package:flare_flutter/flare/dependency_sorter.dart';
import 'package:flare_flutter/flare/jelly_component.dart';
import 'package:flare_flutter/flare/json_block_reader.dart';
import 'package:flare_flutter/flare/json_reader.dart';
import 'package:flare_flutter/flare/math/aabb.dart';
import 'package:flare_flutter/flare/math/mat2d.dart';
import 'package:flare_flutter/flare/math/transform_components.dart';
import 'package:flare_flutter/flare/math/vec2d.dart';
import 'package:flare_flutter/flare/path_point.dart';
import 'package:flare_flutter/flare/stream_reader.dart';
import 'package:flare_flutter/flare/transform_space.dart';
import 'package:flare_flutter/flare_actor.dart';