menu
flutter_chess_board package
documentation
flutter_chess_board.dart
Chess
king_attacked method
king_attacked method
dark_mode
light_mode
king_attacked
method
bool
king_attacked
(
Color
color
)
Implementation
bool king_attacked(Color color) { return attacked(swap_color(color), kings[color]); }
flutter_chess_board package
documentation
flutter_chess_board
Chess
king_attacked method
Chess class