chess_vectors_flutter 1.0.4

  • Installing
  • Versions
  • 83

chess vectors flutter #

Chess pieces vectors for Flutter. These vectors are custom widgets : they have their own size, they can also be moved (position property) inside their parent, and be resize (size property).

Getting Started #

Add whatever piece widget you want to your components tree :

  • position property takes an Offset value for positioning the piece
  • size property takes a double value for defining the piece side size (same width and height).


This project is using the SVG definitions of Chess pieces from a Wikimedia Commons page

[1.0.4] - 08/09/2018.

  • Adapted library in order to be accepted by Dart 2.

[1.0.0] - 08/08/2018.

  • Initial release : all pieces widgets can be directly integrated into your components tree, can be moved and/or resized.

Use this package as a library

1. Depend on it

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

  chess_vectors_flutter: ^1.0.4

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support 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:chess_vectors_flutter/chess_vectors_flutter.dart';
Version Uploaded Documentation Archive
1.0.6 Aug 9, 2018 Go to the documentation of chess_vectors_flutter 1.0.6 Download chess_vectors_flutter 1.0.6 archive
1.0.4 Aug 9, 2018 Go to the documentation of chess_vectors_flutter 1.0.4 Download chess_vectors_flutter 1.0.4 archive
1.0.2 Aug 9, 2018 Go to the documentation of chess_vectors_flutter 1.0.2 Download chess_vectors_flutter 1.0.2 archive
1.0.0 Aug 8, 2018 Go to the documentation of chess_vectors_flutter 1.0.0 Download chess_vectors_flutter 1.0.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 Jun 18, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.2
  • pana: 0.12.18
  • Flutter: 1.5.4-hotfix.2


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Format lib/main.dart.

Run flutter format to format lib/main.dart.

Maintenance issues and suggestions

Support latest dependencies. (-5 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency.

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

For more information see the pub package layout conventions.

The package description is too short. (-3 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 >=1.19.0 <3.0.0
flutter 0.0.0
tuple ^1.0.2 1.0.2
Transitive dependencies
collection 1.14.11
matcher 0.12.5
meta 1.1.6 1.1.7
path 1.6.2
quiver 2.0.3
sky_engine 0.0.99
stack_trace 1.9.3
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies