magic_cube 1.0.1
magic_cube: ^1.0.1 copied to clipboard
A pure Flutter 3D Rubik's cube widget with draggable layer turns, free whole-cube rotation, standard notation moves, scrambling and undo.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add magic_cubeThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
magic_cube: ^1.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:magic_cube/magic_cube.dart';