Skip to main content

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

Fruit Slice: a swipe-to-slice Flame mini game for Flame Gallery. Brandable sprites, colors and texts, with timer, lives and bombs.

example/example.md

flame_gallery_slice example #

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

Future<GameResult?> play(BuildContext context) => Navigator.of(context).push(
  MaterialPageRoute<GameResult>(
    fullscreenDialog: true,
    builder: (_) => const GameHostPage(
      game: FruitSlice(config: SliceConfig(timeLimit: Duration(seconds: 45))),
    ),
  ),
);

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

0
likes
160
points
22
downloads

Documentation

API reference

Publisher

verified publishervbxtech.app

Weekly Downloads

Fruit Slice: a swipe-to-slice Flame mini game for Flame Gallery. Brandable sprites, colors and texts, with timer, lives and bombs.

Repository (GitHub)
View/report issues

Topics

#flame #game #minigame #gamification #arcade

License

MIT (license)

Dependencies

flame, flame_gallery_core, flutter

More

Packages that depend on flame_gallery_slice