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).
Add whatever piece widget you want to your components tree :
This project is using the SVG definitions of Chess pieces from a Wikimedia Commons page
Add this to your package's pubspec.yaml file:
dependencies: chess_vectors_flutter: ^1.0.4
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.0.6||Aug 9, 2018|
|1.0.4||Aug 9, 2018|
|1.0.2||Aug 9, 2018|
|1.0.0||Aug 8, 2018|
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]
We analyzed this package on Jun 18, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
flutter format to format
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
chess_vectors_flutter.dart. Packages with multiple examples should provide
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.
|Dart SDK||>=1.19.0 <3.0.0|