Files
Lukas Klingsbo 843ddc3624 refactor: Move to package imports (#1625)
* refactor: Move to package imports

* Fix local imports

* Removed unused imports
2022-05-15 15:04:35 +00:00

22 lines
709 B
Dart

import 'package:dashbook/dashbook.dart';
import 'package:examples/commons/commons.dart';
import 'package:examples/stories/utils/timer_component_example.dart';
import 'package:examples/stories/utils/timer_example.dart';
import 'package:flame/game.dart';
void addUtilsStories(Dashbook dashbook) {
dashbook.storiesOf('Utils')
..add(
'Timer',
(_) => GameWidget(game: TimerExample()),
codeLink: baseLink('utils/timer_example.dart'),
info: TimerExample.description,
)
..add(
'Timer Component',
(_) => GameWidget(game: TimerComponentExample()),
codeLink: baseLink('utils/timer_component_example.dart'),
info: TimerComponentExample.description,
);
}