Skip to main content

magic_cube 1.0.1 copy "magic_cube: ^1.0.1" to clipboard
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_cube

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

dependencies:
  magic_cube: ^1.0.1

Alternatively, 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';
2
likes
160
points
0
downloads
screenshot

Documentation

API reference

Publisher

verified publishernoob-coder.com

Weekly Downloads

A pure Flutter 3D Rubik's cube widget with draggable layer turns, free whole-cube rotation, standard notation moves, scrambling and undo.

Homepage
Repository (GitHub)
View/report issues

Topics

#magic-cube #rubiks-cube #cube-3d #puzzle #widget

License

MIT (license)

Dependencies

flutter

More

Packages that depend on magic_cube