maze 2.0.1

Flutter Android iOS web

A simple maze game in Flutter. It also serves as a CustomPainter example.

maze_game #

A simple maze game in Flutter. It also serves as a CustomPainter example.

┬┐Why? #

In another project, I needed to create a "simple" maze game that can be used in low-end devices, so game engine was not an option.

Suddenly, I found a way to do it in pure Android.

Maze

So, this is a "port" of that saviour example.

Maze package #

pub Project Status: Active License: MIT style: effective dart

You can use it in your project, you only need to add the dependency:

dependencies:
  flutter:
    sdk: flutter
  maze_game: 2.0.1

Now you can create your Maze:

Maze(
    player: MazeItem(
        'https://image.flaticon.com/icons/png/512/808/808433.png',
        ImageType.network),
    columns: 6,
    rows: 12,
    wallThickness: 4.0,
    wallColor: Theme.of(context).primaryColor,
    finish: MazeItem(
        'https://image.flaticon.com/icons/png/512/1506/1506339.png',
        ImageType.network),
    onFinish: () => print('Hi from finish line!'))
2
likes
110
pub points
49%
popularity

Publisher

pixela.tech

A simple maze game in Flutter. It also serves as a CustomPainter example.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

equatable, flutter, http, stack, universal_io

More

Packages that depend on maze