flutter_chess_board
1.0.1, released 5 years ago by joshi.dev
A chess board widget for Flutter with PGN, FEN, and SAN support.
What it does
Provides a fully interactive chessboard widget and controller for Flutter. It supports loading and exporting game formats like PGN and FEN, making and undoing moves, displaying arrows, and managing multiple board themes.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display a chessboard inside a Flutter application.
- You want to allow users to play chess, make moves, and undo them.
- You need support for FEN, PGN, and SAN game formats.
Skip it when
- You are building complex multiplayer online chess architecture requiring a full game engine backend.
- You need advanced AI chess playing capabilities built directly into the widget.
Strengths
- Full support for standard chess formats like PGN, FEN, and SAN.
- Includes a controller to easily manipulate and check game state.
- Supports custom board colors and overlay arrows.
Weaknesses
- Limited to single-board chess rendering and state management.
- Alternative package recommendations from the provided list are not applicable as there are no direct alternatives.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
ChessBoardController controller = ChessBoardController();
ChessBoard(
controller: controller,
boardColor: BoardColor.orange,
boardOrientation: PlayerColor.white,
)Alternatives
Packages that do the same job and could replace flutter_chess_board.
- animated_reorderable
Animated, draggable reorderable ListView/GridView with built‑in swipe‑to‑delete.
73Compare - painter
A simple flutter widget to paint with your fingers, supporting colors, undo, and export to PNG.
50Compare - invert_colors
A lightweight widget that inverts the colors of its children.
38Compare
Works with
Packages commonly used together with flutter_chess_board: ones it builds on, ones built on it, and its own family.