Files
Lukas Klingsbo dec04f3335 Work around Flutter bug for ColorEffect and fix broken links (#1178)
* Fix `ColorEffect` Flutter bug and example links

* Remove accidental code

* Fix `ColorEffect` test
2021-12-08 13:19:00 +01:00

30 lines
868 B
Dart

import 'package:dashbook/dashbook.dart';
import 'package:flame/game.dart';
import '../../commons/commons.dart';
import 'overlays_example.dart';
import 'pause_resume_example.dart';
import 'without_flamegame_example.dart';
void addSystemStories(Dashbook dashbook) {
dashbook.storiesOf('System')
..add(
'Pause/resume engine',
(_) => GameWidget(game: PauseResumeExample()),
codeLink: baseLink('system/pause_resume_example.dart'),
info: PauseResumeExample.description,
)
..add(
'Overlay',
overlayBuilder,
codeLink: baseLink('system/overlays_example.dart'),
info: OverlaysExample.description,
)
..add(
'Without FlameGame',
(_) => GameWidget(game: NoFlameGameExample()),
codeLink: baseLink('system/without_flamegame_example.dart'),
info: NoFlameGameExample.description,
);
}