chess_interface 1.0.6 copy "chess_interface: ^1.0.6" to clipboard
chess_interface: ^1.0.6 copied to clipboard

A chess interface for the chess engine with all basic functionalities like move, undo, redo, etc. and a chess board widget with custom themes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add chess_interface

With Flutter:

 $ flutter pub add chess_interface

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

dependencies:
  chess_interface: ^1.0.6

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

Import it

Now in your Dart code, you can use:

import 'package:chess_interface/arbiter/arbiter.dart';
import 'package:chess_interface/chess_board_widget.dart';
import 'package:chess_interface/env.dart';
import 'package:chess_interface/logical_interface/interface.dart';
import 'package:chess_interface/logical_interface/move_validator.dart';
import 'package:chess_interface/logical_interface/piece.dart';
import 'package:chess_interface/models/board_theme_config.dart';
import 'package:chess_interface/utils/color_extension.dart';
2
likes
0
points
135
downloads

Publisher

verified publisherdilipyadav.xyz

Weekly Downloads

A chess interface for the chess engine with all basic functionalities like move, undo, redo, etc. and a chess board widget with custom themes.

Homepage

License

unknown (license)

Dependencies

flutter, gradient_circular_progress_indicator

More

Packages that depend on chess_interface