mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
14 lines
448 B
Dart
14 lines
448 B
Dart
import 'package:dashbook/dashbook.dart';
|
|
import 'package:examples/commons/commons.dart';
|
|
import 'package:examples/stories/svg/svg_component.dart';
|
|
import 'package:flame/game.dart';
|
|
|
|
void addSvgStories(Dashbook dashbook) {
|
|
dashbook.storiesOf('Svg').add(
|
|
'Svg Component',
|
|
(_) => GameWidget(game: SvgComponentExample()),
|
|
codeLink: baseLink('svg/svg_component.dart'),
|
|
info: SvgComponentExample.description,
|
|
);
|
|
}
|