puzzle_cube 0.2.0 copy "puzzle_cube: ^0.2.0" to clipboard
puzzle_cube: ^0.2.0 copied to clipboard

An interactive 3D twisty-puzzle cube for Flutter, with a 3x3 model (turns, scrambling, validation) and a gesture-driven widget (orbit, drag-to-turn).

Changelog #

0.1.0 #

  • Initial release.
  • RubiksCubeState — 3x3 cube model: 12 outer + 6 slice moves, scrambling, solved-state detection, deep copy, JSON (de)serialisation and per-sticker painting.
  • CubeController + Cube — interactive 3D widget with orbit, tap-to-select, and finger-following drag-to-turn (snaps to the nearest quarter-turn), plus queued/animated moves and playSequence.
  • CubeColorValidator — validates whether a colouring is a real, solvable cube.

0.1.1 #

  • Fix bug in example for drag to move not working
  • Map to public Github Repository
  • Adding gif

0.1.2 #

  • Fix the demo gif in the README.

0.2.0 #

  • Renamed RubiksCubeState to PuzzleCubeState.
  • Added pub.dev topics and dropped the rubiks-cube topic.
  • Added applyMoveInstant to table
8
likes
160
points
62
downloads

Documentation

API reference

Publisher

verified publisherabsolutedevs.com

Weekly Downloads

An interactive 3D twisty-puzzle cube for Flutter, with a 3x3 model (turns, scrambling, validation) and a gesture-driven widget (orbit, drag-to-turn).

Repository (GitHub)
View/report issues

Topics

#cube #puzzle #three-dim #widget

License

MIT (license)

Dependencies

ditredi, equatable, flutter, vector_math

More

Packages that depend on puzzle_cube