flame_geom 0.2.5 copy "flame_geom: ^0.2.5" to clipboard
flame_geom: ^0.2.5 copied to clipboard

discontinuedreplaced by: flame

Complement Flame with APIs for handling shapes and geometric operations.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flame_geom

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flame_geom: ^0.2.5

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:flame_geom/bounds.dart';
import 'package:flame_geom/circle.dart';
import 'package:flame_geom/int_bounds.dart';
import 'package:flame_geom/int_position.dart';
import 'package:flame_geom/int_rect.dart';
import 'package:flame_geom/line_segment.dart';
import 'package:flame_geom/overlapable.dart';
import 'package:flame_geom/rectangle.dart';
import 'package:flame_geom/renderable.dart';
import 'package:flame_geom/renderer.dart';
import 'package:flame_geom/shape_component.dart';
4
likes
40
pub points
0%
popularity

Publisher

verified publisherflame-engine.org

Complement Flame with APIs for handling shapes and geometric operations.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flame, flutter

More

Packages that depend on flame_geom