|
|
@ -1,5 +1,4 @@
|
|
|
|
import 'package:dashbook/dashbook.dart';
|
|
|
|
import 'package:dashbook/dashbook.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
import 'package:sandbox/common/common.dart';
|
|
|
|
import 'package:sandbox/common/common.dart';
|
|
|
|
import 'package:sandbox/stories/ball/ball_booster_game.dart';
|
|
|
|
import 'package:sandbox/stories/ball/ball_booster_game.dart';
|
|
|
|
import 'package:sandbox/stories/ball/basic_ball_game.dart';
|
|
|
|
import 'package:sandbox/stories/ball/basic_ball_game.dart';
|
|
|
@ -7,10 +6,9 @@ import 'package:sandbox/stories/ball/basic_ball_game.dart';
|
|
|
|
void addBallStories(Dashbook dashbook) {
|
|
|
|
void addBallStories(Dashbook dashbook) {
|
|
|
|
dashbook.storiesOf('Ball')
|
|
|
|
dashbook.storiesOf('Ball')
|
|
|
|
..addGame(
|
|
|
|
..addGame(
|
|
|
|
title: 'Colored',
|
|
|
|
title: 'Themed',
|
|
|
|
description: BallGame.description,
|
|
|
|
description: BallGame.description,
|
|
|
|
gameBuilder: (context) => BallGame(
|
|
|
|
gameBuilder: (context) => BallGame(
|
|
|
|
color: context.colorProperty('color', Colors.blue),
|
|
|
|
|
|
|
|
character: context.listProperty(
|
|
|
|
character: context.listProperty(
|
|
|
|
'Character',
|
|
|
|
'Character',
|
|
|
|
BallGame.characterBallPaths.keys.first,
|
|
|
|
BallGame.characterBallPaths.keys.first,
|
|
|
|