Skip to main content

flame_gallery_match 0.1.0 copy "flame_gallery_match: ^0.1.0" to clipboard
flame_gallery_match: ^0.1.0 copied to clipboard

Sweet Swap: a match-three swap puzzle Flame mini game for Flame Gallery with cascades, move or time limits, target scores and seeded boards.

example/example.md

flame_gallery_match example #

import 'package:flame_gallery_core/flame_gallery_core.dart';
import 'package:flame_gallery_match/flame_gallery_match.dart';
import 'package:flutter/material.dart';

Future<GameResult?> play(BuildContext context) => Navigator.of(context).push(
  MaterialPageRoute<GameResult>(
    fullscreenDialog: true,
    builder: (_) => const GameHostPage(
      game: SweetSwap(config: MatchConfig(moveLimit: 15, targetScore: 1000)),
    ),
  ),
);

Most apps use the flame_gallery facade instead: FlameGallery.show(context, game: const SweetSwap()).

0
likes
160
points
22
downloads

Documentation

API reference

Publisher

verified publishervbxtech.app

Weekly Downloads

Sweet Swap: a match-three swap puzzle Flame mini game for Flame Gallery with cascades, move or time limits, target scores and seeded boards.

Repository (GitHub)
View/report issues

Topics

#flame #game #minigame #gamification #puzzle

License

MIT (license)

Dependencies

flame, flame_gallery_core, flutter

More

Packages that depend on flame_gallery_match