diff --git a/packages/pinball_components/sandbox/lib/stories/alien_zone/alien_bumper_a_game.dart b/packages/pinball_components/sandbox/lib/stories/alien_zone/alien_bumper_a_game.dart index 64fcadad..a5c88862 100644 --- a/packages/pinball_components/sandbox/lib/stories/alien_zone/alien_bumper_a_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/alien_zone/alien_bumper_a_game.dart @@ -7,7 +7,7 @@ import 'package:sandbox/stories/ball/basic_ball_game.dart'; class AlienBumperAGame extends BallGame { AlienBumperAGame() : super(color: const Color(0xFF0000FF)); - static const info = ''' + static const description = ''' Shows how a AlienBumperA is rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/alien_zone/alien_bumper_b_game.dart b/packages/pinball_components/sandbox/lib/stories/alien_zone/alien_bumper_b_game.dart index 4147ea90..9c88dcd2 100644 --- a/packages/pinball_components/sandbox/lib/stories/alien_zone/alien_bumper_b_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/alien_zone/alien_bumper_b_game.dart @@ -7,7 +7,7 @@ import 'package:sandbox/stories/ball/basic_ball_game.dart'; class AlienBumperBGame extends BallGame { AlienBumperBGame() : super(color: const Color(0xFF0000FF)); - static const info = ''' + static const description = ''' Shows how a AlienBumperB is rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/alien_zone/stories.dart b/packages/pinball_components/sandbox/lib/stories/alien_zone/stories.dart index 40074f3c..136af1ba 100644 --- a/packages/pinball_components/sandbox/lib/stories/alien_zone/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/alien_zone/stories.dart @@ -7,12 +7,12 @@ void addAlienZoneStories(Dashbook dashbook) { dashbook.storiesOf('Alien Zone') ..addGame( title: 'Alien Bumper A', - description: AlienBumperAGame.info, + description: AlienBumperAGame.description, gameBuilder: (_) => AlienBumperAGame(), ) ..addGame( title: 'Alien Bumper B', - description: AlienBumperBGame.info, + description: AlienBumperBGame.description, gameBuilder: (_) => AlienBumperBGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/backboard/backboard_game_over_game.dart b/packages/pinball_components/sandbox/lib/stories/backboard/backboard_game_over_game.dart index 98f17708..a04aa01f 100644 --- a/packages/pinball_components/sandbox/lib/stories/backboard/backboard_game_over_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/backboard/backboard_game_over_game.dart @@ -11,7 +11,7 @@ class BackboardGameOverGame extends AssetsGame fileNames: characterIconPaths.values.toList(), ); - static const info = ''' + static const description = ''' Shows how the Backboard in game over mode is rendered. - Select a character to update the character icon. diff --git a/packages/pinball_components/sandbox/lib/stories/backboard/backboard_waiting_game.dart b/packages/pinball_components/sandbox/lib/stories/backboard/backboard_waiting_game.dart index 4c1ddd4e..e37bfd85 100644 --- a/packages/pinball_components/sandbox/lib/stories/backboard/backboard_waiting_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/backboard/backboard_waiting_game.dart @@ -3,7 +3,7 @@ import 'package:pinball_components/pinball_components.dart'; import 'package:sandbox/common/common.dart'; class BackboardWaitingGame extends AssetsGame { - static const info = ''' + static const description = ''' Shows how the Backboard in waiting mode is rendered. '''; diff --git a/packages/pinball_components/sandbox/lib/stories/backboard/stories.dart b/packages/pinball_components/sandbox/lib/stories/backboard/stories.dart index 015a382d..b8c85d10 100644 --- a/packages/pinball_components/sandbox/lib/stories/backboard/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/backboard/stories.dart @@ -7,12 +7,12 @@ void addBackboardStories(Dashbook dashbook) { dashbook.storiesOf('Backboard') ..addGame( title: 'Waiting', - description: BackboardWaitingGame.info, + description: BackboardWaitingGame.description, gameBuilder: (_) => BackboardWaitingGame(), ) ..addGame( title: 'Game over', - description: BackboardGameOverGame.info, + description: BackboardGameOverGame.description, gameBuilder: (context) => BackboardGameOverGame( context.numberProperty('Score', 9000000000).toInt(), context.listProperty( diff --git a/packages/pinball_components/sandbox/lib/stories/ball/ball_booster_game.dart b/packages/pinball_components/sandbox/lib/stories/ball/ball_booster_game.dart index 2fa4462e..7f07de97 100644 --- a/packages/pinball_components/sandbox/lib/stories/ball/ball_booster_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/ball/ball_booster_game.dart @@ -4,7 +4,7 @@ import 'package:pinball_components/pinball_components.dart'; import 'package:sandbox/common/common.dart'; class BallBoosterGame extends LineGame { - static const info = ''' + static const description = ''' Shows how a Ball with a boost works. - Drag to launch a boosted Ball. diff --git a/packages/pinball_components/sandbox/lib/stories/ball/basic_ball_game.dart b/packages/pinball_components/sandbox/lib/stories/ball/basic_ball_game.dart index 4a2ed6a4..3b68ff56 100644 --- a/packages/pinball_components/sandbox/lib/stories/ball/basic_ball_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/ball/basic_ball_game.dart @@ -16,7 +16,7 @@ class BallGame extends AssetsGame with TapDetector, Traceable { ], ); - static const info = ''' + static const description = ''' Shows how a Ball works. - Tap anywhere on the screen to spawn a ball into the game. diff --git a/packages/pinball_components/sandbox/lib/stories/ball/stories.dart b/packages/pinball_components/sandbox/lib/stories/ball/stories.dart index ea4a062b..eb472282 100644 --- a/packages/pinball_components/sandbox/lib/stories/ball/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/ball/stories.dart @@ -8,14 +8,14 @@ void addBallStories(Dashbook dashbook) { dashbook.storiesOf('Ball') ..addGame( title: 'Colored', - description: BallGame.info, + description: BallGame.description, gameBuilder: (context) => BallGame( color: context.colorProperty('color', Colors.blue), ), ) ..addGame( title: 'Booster', - description: BallBoosterGame.info, + description: BallBoosterGame.description, gameBuilder: (context) => BallBoosterGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/baseboard/baseboard_game.dart b/packages/pinball_components/sandbox/lib/stories/baseboard/baseboard_game.dart index bc808127..e0dff951 100644 --- a/packages/pinball_components/sandbox/lib/stories/baseboard/baseboard_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/baseboard/baseboard_game.dart @@ -4,7 +4,7 @@ import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class BaseboardGame extends BallGame with Traceable { - static const info = ''' + static const description = ''' Shows how the Baseboards are rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/baseboard/stories.dart b/packages/pinball_components/sandbox/lib/stories/baseboard/stories.dart index 6b82e109..fb02bc7a 100644 --- a/packages/pinball_components/sandbox/lib/stories/baseboard/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/baseboard/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/baseboard/baseboard_game.dart'; void addBaseboardStories(Dashbook dashbook) { dashbook.storiesOf('Baseboard').addGame( title: 'Basic', - description: BaseboardGame.info, + description: BaseboardGame.description, gameBuilder: (_) => BaseboardGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/boundaries/boundaries_game.dart b/packages/pinball_components/sandbox/lib/stories/boundaries/boundaries_game.dart index 3b48b86a..32eaea72 100644 --- a/packages/pinball_components/sandbox/lib/stories/boundaries/boundaries_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/boundaries/boundaries_game.dart @@ -5,7 +5,7 @@ import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class BoundariesGame extends BallGame with Traceable { - static const info = ''' + static const description = ''' Shows how Boundaries are rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/boundaries/stories.dart b/packages/pinball_components/sandbox/lib/stories/boundaries/stories.dart index 8370622f..ea1add9d 100644 --- a/packages/pinball_components/sandbox/lib/stories/boundaries/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/boundaries/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/boundaries/boundaries_game.dart'; void addBoundariesStories(Dashbook dashbook) { dashbook.storiesOf('Boundaries').addGame( title: 'Basic', - description: BoundariesGame.info, + description: BoundariesGame.description, gameBuilder: (_) => BoundariesGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/camera_zoom/camera_zoom_game.dart b/packages/pinball_components/sandbox/lib/stories/camera_zoom/camera_zoom_game.dart index a82d68b8..11f2b776 100644 --- a/packages/pinball_components/sandbox/lib/stories/camera_zoom/camera_zoom_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/camera_zoom/camera_zoom_game.dart @@ -4,7 +4,7 @@ import 'package:pinball_components/pinball_components.dart'; import 'package:sandbox/common/common.dart'; class CameraZoomGame extends AssetsGame with TapDetector { - static const info = ''' + static const description = ''' Shows how CameraZoom can be used. - Tap to zoom in/out. diff --git a/packages/pinball_components/sandbox/lib/stories/camera_zoom/stories.dart b/packages/pinball_components/sandbox/lib/stories/camera_zoom/stories.dart index 3581c4a1..a7441b95 100644 --- a/packages/pinball_components/sandbox/lib/stories/camera_zoom/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/camera_zoom/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/camera_zoom/camera_zoom_game.dart'; void addZoomStories(Dashbook dashbook) { dashbook.storiesOf('CameraZoom').addGame( title: 'Example', - description: CameraZoomGame.info, + description: CameraZoomGame.description, gameBuilder: (_) => CameraZoomGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/chrome_dino/chrome_dino_game.dart b/packages/pinball_components/sandbox/lib/stories/chrome_dino/chrome_dino_game.dart index 94bf6e44..2e6831e3 100644 --- a/packages/pinball_components/sandbox/lib/stories/chrome_dino/chrome_dino_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/chrome_dino/chrome_dino_game.dart @@ -2,7 +2,7 @@ import 'package:flame_forge2d/flame_forge2d.dart'; import 'package:pinball_components/pinball_components.dart'; class ChromeDinoGame extends Forge2DGame { - static const info = 'Shows how a ChromeDino is rendered.'; + static const description = 'Shows how a ChromeDino is rendered.'; @override Future onLoad() async { diff --git a/packages/pinball_components/sandbox/lib/stories/chrome_dino/stories.dart b/packages/pinball_components/sandbox/lib/stories/chrome_dino/stories.dart index 1ee02d24..391cdca7 100644 --- a/packages/pinball_components/sandbox/lib/stories/chrome_dino/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/chrome_dino/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/chrome_dino/chrome_dino_game.dart'; void addChromeDinoStories(Dashbook dashbook) { dashbook.storiesOf('Chrome Dino').addGame( title: 'Trace', - description: ChromeDinoGame.info, + description: ChromeDinoGame.description, gameBuilder: (_) => ChromeDinoGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/effects/fire_effect_game.dart b/packages/pinball_components/sandbox/lib/stories/effects/fire_effect_game.dart index 9e2acaf4..3ca8ec1a 100644 --- a/packages/pinball_components/sandbox/lib/stories/effects/fire_effect_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/effects/fire_effect_game.dart @@ -3,7 +3,7 @@ import 'package:pinball_components/pinball_components.dart'; import 'package:sandbox/common/common.dart'; class FireEffectGame extends LineGame { - static const info = ''' + static const description = ''' Shows how the FireEffect renders. - Drag a line to define the trail direction. diff --git a/packages/pinball_components/sandbox/lib/stories/effects/stories.dart b/packages/pinball_components/sandbox/lib/stories/effects/stories.dart index e97dc469..f4c348d7 100644 --- a/packages/pinball_components/sandbox/lib/stories/effects/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/effects/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/effects/fire_effect_game.dart'; void addEffectsStories(Dashbook dashbook) { dashbook.storiesOf('Effects').addGame( title: 'Fire', - description: FireEffectGame.info, + description: FireEffectGame.description, gameBuilder: (_) => FireEffectGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/flipper/flipper_game.dart b/packages/pinball_components/sandbox/lib/stories/flipper/flipper_game.dart index 72a77bf9..bfcc275a 100644 --- a/packages/pinball_components/sandbox/lib/stories/flipper/flipper_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/flipper/flipper_game.dart @@ -7,7 +7,7 @@ import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class FlipperGame extends BallGame with KeyboardEvents, Traceable { - static const info = ''' + static const description = ''' Shows how Flippers are rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/flipper/stories.dart b/packages/pinball_components/sandbox/lib/stories/flipper/stories.dart index 02ed1bdb..2ef2a4b6 100644 --- a/packages/pinball_components/sandbox/lib/stories/flipper/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/flipper/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/flipper/flipper_game.dart'; void addFlipperStories(Dashbook dashbook) { dashbook.storiesOf('Flipper').addGame( title: 'Traced', - description: FlipperGame.info, + description: FlipperGame.description, gameBuilder: (_) => FlipperGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/flutter_forest/big_dash_nest_bumper_game.dart b/packages/pinball_components/sandbox/lib/stories/flutter_forest/big_dash_nest_bumper_game.dart index b087afaf..40cdc213 100644 --- a/packages/pinball_components/sandbox/lib/stories/flutter_forest/big_dash_nest_bumper_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/flutter_forest/big_dash_nest_bumper_game.dart @@ -6,7 +6,7 @@ import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class BigDashNestBumperGame extends BallGame with Traceable { - static const info = ''' + static const description = ''' Shows how a BigDashNestBumper is rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/flutter_forest/signpost_game.dart b/packages/pinball_components/sandbox/lib/stories/flutter_forest/signpost_game.dart index 72cd6a30..e3b75cc6 100644 --- a/packages/pinball_components/sandbox/lib/stories/flutter_forest/signpost_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/flutter_forest/signpost_game.dart @@ -6,7 +6,7 @@ import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class SignpostGame extends BallGame with Traceable, TapDetector { - static const info = ''' + static const description = ''' Shows how a Signpost is rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_a_game.dart b/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_a_game.dart index a7f9694c..24b4f00c 100644 --- a/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_a_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_a_game.dart @@ -6,7 +6,7 @@ import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class SmallDashNestBumperAGame extends BallGame with Traceable { - static const info = ''' + static const description = ''' Shows how a SmallDashNestBumper ("a") is rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_b_game.dart b/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_b_game.dart index c8a6db45..559791e8 100644 --- a/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_b_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/flutter_forest/small_dash_nest_bumper_b_game.dart @@ -6,7 +6,7 @@ import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class SmallDashNestBumperBGame extends BallGame with Traceable { - static const info = ''' + static const description = ''' Shows how a SmallDashNestBumper ("b") is rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/flutter_forest/stories.dart b/packages/pinball_components/sandbox/lib/stories/flutter_forest/stories.dart index 3a7e92be..ef9c1ffb 100644 --- a/packages/pinball_components/sandbox/lib/stories/flutter_forest/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/flutter_forest/stories.dart @@ -9,22 +9,22 @@ void addDashNestBumperStories(Dashbook dashbook) { dashbook.storiesOf('Flutter Forest') ..addGame( title: 'Signpost', - description: SignpostGame.info, + description: SignpostGame.description, gameBuilder: (_) => SignpostGame(), ) ..addGame( title: 'Big Dash Nest Bumper', - description: BigDashNestBumperGame.info, + description: BigDashNestBumperGame.description, gameBuilder: (_) => BigDashNestBumperGame(), ) ..addGame( title: 'Small Dash Nest Bumper A', - description: SmallDashNestBumperAGame.info, + description: SmallDashNestBumperAGame.description, gameBuilder: (_) => SmallDashNestBumperAGame(), ) ..addGame( title: 'Small Dash Nest Bumper B', - description: SmallDashNestBumperBGame.info, + description: SmallDashNestBumperBGame.description, gameBuilder: (_) => SmallDashNestBumperBGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/google_word/google_letter_game.dart b/packages/pinball_components/sandbox/lib/stories/google_word/google_letter_game.dart index d8529792..d8022e57 100644 --- a/packages/pinball_components/sandbox/lib/stories/google_word/google_letter_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/google_word/google_letter_game.dart @@ -8,7 +8,7 @@ import 'package:sandbox/stories/ball/basic_ball_game.dart'; class GoogleLetterGame extends BallGame { GoogleLetterGame() : super(color: const Color(0xFF009900)); - static const info = ''' + static const description = ''' Shows how a GoogleLetter is rendered. - Tap anywhere on the screen to spawn a ball into the game. diff --git a/packages/pinball_components/sandbox/lib/stories/google_word/stories.dart b/packages/pinball_components/sandbox/lib/stories/google_word/stories.dart index 87c9b450..858a9a30 100644 --- a/packages/pinball_components/sandbox/lib/stories/google_word/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/google_word/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/google_word/google_letter_game.dart'; void addGoogleWordStories(Dashbook dashbook) { dashbook.storiesOf('Google Word').addGame( title: 'Letter 0', - description: GoogleLetterGame.info, + description: GoogleLetterGame.description, gameBuilder: (_) => GoogleLetterGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/kicker/kicker_game.dart b/packages/pinball_components/sandbox/lib/stories/kicker/kicker_game.dart index 6a04a0e4..2a16e67c 100644 --- a/packages/pinball_components/sandbox/lib/stories/kicker/kicker_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/kicker/kicker_game.dart @@ -4,7 +4,7 @@ import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class KickerGame extends BallGame with Traceable { - static const info = ''' + static const description = ''' Shows how Kickers are rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/kicker/stories.dart b/packages/pinball_components/sandbox/lib/stories/kicker/stories.dart index b2b68454..cfebb7e4 100644 --- a/packages/pinball_components/sandbox/lib/stories/kicker/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/kicker/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/kicker/kicker_game.dart'; void addKickerStories(Dashbook dashbook) { dashbook.storiesOf('Kickers').addGame( title: 'Traced', - description: KickerGame.info, + description: KickerGame.description, gameBuilder: (_) => KickerGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/launch_ramp/launch_ramp_game.dart b/packages/pinball_components/sandbox/lib/stories/launch_ramp/launch_ramp_game.dart index f3678ced..59a7532a 100644 --- a/packages/pinball_components/sandbox/lib/stories/launch_ramp/launch_ramp_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/launch_ramp/launch_ramp_game.dart @@ -14,7 +14,7 @@ class LaunchRampGame extends BallGame { ballLayer: Layer.launcher, ); - static const info = ''' + static const description = ''' Shows how LaunchRamp are rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/launch_ramp/stories.dart b/packages/pinball_components/sandbox/lib/stories/launch_ramp/stories.dart index d486507b..e02ec093 100644 --- a/packages/pinball_components/sandbox/lib/stories/launch_ramp/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/launch_ramp/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/launch_ramp/launch_ramp_game.dart'; void addLaunchRampStories(Dashbook dashbook) { dashbook.storiesOf('LaunchRamp').addGame( title: 'Traced', - description: LaunchRampGame.info, + description: LaunchRampGame.description, gameBuilder: (_) => LaunchRampGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/layer/layer_game.dart b/packages/pinball_components/sandbox/lib/stories/layer/layer_game.dart index f4b81b8f..a3cc0374 100644 --- a/packages/pinball_components/sandbox/lib/stories/layer/layer_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/layer/layer_game.dart @@ -5,7 +5,7 @@ import 'package:pinball_components/pinball_components.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class LayerGame extends BallGame with TapDetector { - static const info = ''' + static const description = ''' Shows how Layers work when a Ball hits other components. - Tap anywhere on the screen to spawn a Ball into the game. diff --git a/packages/pinball_components/sandbox/lib/stories/layer/stories.dart b/packages/pinball_components/sandbox/lib/stories/layer/stories.dart index 1c04c79a..64d21b87 100644 --- a/packages/pinball_components/sandbox/lib/stories/layer/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/layer/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/layer/layer_game.dart'; void addLayerStories(Dashbook dashbook) { dashbook.storiesOf('Layer').addGame( title: 'Example', - description: LayerGame.info, + description: LayerGame.description, gameBuilder: (_) => LayerGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/plunger/plunger_game.dart b/packages/pinball_components/sandbox/lib/stories/plunger/plunger_game.dart index 6ab40e04..d332e100 100644 --- a/packages/pinball_components/sandbox/lib/stories/plunger/plunger_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/plunger/plunger_game.dart @@ -8,7 +8,7 @@ import 'package:sandbox/stories/ball/basic_ball_game.dart'; class PlungerGame extends BallGame with KeyboardEvents, Traceable { PlungerGame() : super(color: const Color(0xFFFF0000)); - static const info = ''' + static const description = ''' Shows how Plunger is rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/plunger/stories.dart b/packages/pinball_components/sandbox/lib/stories/plunger/stories.dart index 82aacf2d..af54435a 100644 --- a/packages/pinball_components/sandbox/lib/stories/plunger/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/plunger/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/plunger/plunger_game.dart'; void addPlungerStories(Dashbook dashbook) { dashbook.storiesOf('Plunger').addGame( title: 'Traced', - description: PlungerGame.info, + description: PlungerGame.description, gameBuilder: (_) => PlungerGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/score_text/score_text_game.dart b/packages/pinball_components/sandbox/lib/stories/score_text/score_text_game.dart index 02a91cf6..aa776405 100644 --- a/packages/pinball_components/sandbox/lib/stories/score_text/score_text_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/score_text/score_text_game.dart @@ -6,7 +6,7 @@ import 'package:pinball_components/pinball_components.dart'; import 'package:sandbox/common/common.dart'; class ScoreTextGame extends AssetsGame with TapDetector { - static const info = ''' + static const description = ''' Simple game to show how score text works, - Tap anywhere on the screen to spawn an text on the given location. diff --git a/packages/pinball_components/sandbox/lib/stories/score_text/stories.dart b/packages/pinball_components/sandbox/lib/stories/score_text/stories.dart index d2d8be93..c4899a27 100644 --- a/packages/pinball_components/sandbox/lib/stories/score_text/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/score_text/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/score_text/score_text_game.dart'; void addScoreTextStories(Dashbook dashbook) { dashbook.storiesOf('ScoreText').addGame( title: 'Basic', - description: ScoreTextGame.info, + description: ScoreTextGame.description, gameBuilder: (_) => ScoreTextGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/slingshot/slingshot_game.dart b/packages/pinball_components/sandbox/lib/stories/slingshot/slingshot_game.dart index 521aea1b..354a800a 100644 --- a/packages/pinball_components/sandbox/lib/stories/slingshot/slingshot_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/slingshot/slingshot_game.dart @@ -5,7 +5,7 @@ import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class SlingshotGame extends BallGame with Traceable { - static const info = ''' + static const description = ''' Shows how Slingshots are rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/slingshot/stories.dart b/packages/pinball_components/sandbox/lib/stories/slingshot/stories.dart index 52a498c5..e4c04a0f 100644 --- a/packages/pinball_components/sandbox/lib/stories/slingshot/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/slingshot/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/slingshot/slingshot_game.dart'; void addSlingshotStories(Dashbook dashbook) { dashbook.storiesOf('Slingshots').addGame( title: 'Traced', - description: SlingshotGame.info, + description: SlingshotGame.description, gameBuilder: (_) => SlingshotGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/spaceship/basic_spaceship_game.dart b/packages/pinball_components/sandbox/lib/stories/spaceship/basic_spaceship_game.dart index db33acbd..1aa68440 100644 --- a/packages/pinball_components/sandbox/lib/stories/spaceship/basic_spaceship_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/spaceship/basic_spaceship_game.dart @@ -7,7 +7,7 @@ import 'package:pinball_flame/pinball_flame.dart'; import 'package:sandbox/common/common.dart'; class BasicSpaceshipGame extends AssetsGame with TapDetector { - static const info = ''' + static const description = ''' Shows how a Spaceship works. - Tap anywhere on the screen to spawn a Ball into the game. diff --git a/packages/pinball_components/sandbox/lib/stories/spaceship/stories.dart b/packages/pinball_components/sandbox/lib/stories/spaceship/stories.dart index 7a87ac32..82e570a0 100644 --- a/packages/pinball_components/sandbox/lib/stories/spaceship/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/spaceship/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/spaceship/basic_spaceship_game.dart'; void addSpaceshipStories(Dashbook dashbook) { dashbook.storiesOf('Spaceship').addGame( title: 'Traced', - description: BasicSpaceshipGame.info, + description: BasicSpaceshipGame.description, gameBuilder: (_) => BasicSpaceshipGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/spaceship_rail/spaceship_rail_game.dart b/packages/pinball_components/sandbox/lib/stories/spaceship_rail/spaceship_rail_game.dart index b4d5f5a7..1706b6b6 100644 --- a/packages/pinball_components/sandbox/lib/stories/spaceship_rail/spaceship_rail_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/spaceship_rail/spaceship_rail_game.dart @@ -14,7 +14,7 @@ class SpaceshipRailGame extends BallGame { ballLayer: Layer.spaceshipExitRail, ); - static const info = ''' + static const description = ''' Shows how SpaceshipRail are rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/spaceship_rail/stories.dart b/packages/pinball_components/sandbox/lib/stories/spaceship_rail/stories.dart index f4677f97..e45f3c15 100644 --- a/packages/pinball_components/sandbox/lib/stories/spaceship_rail/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/spaceship_rail/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/spaceship_rail/spaceship_rail_game.dart'; void addSpaceshipRailStories(Dashbook dashbook) { dashbook.storiesOf('SpaceshipRail').addGame( title: 'Traced', - description: SpaceshipRailGame.info, + description: SpaceshipRailGame.description, gameBuilder: (_) => SpaceshipRailGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/spaceship_ramp/spaceship_ramp_game.dart b/packages/pinball_components/sandbox/lib/stories/spaceship_ramp/spaceship_ramp_game.dart index d6c31cba..4a810b73 100644 --- a/packages/pinball_components/sandbox/lib/stories/spaceship_ramp/spaceship_ramp_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/spaceship_ramp/spaceship_ramp_game.dart @@ -15,7 +15,7 @@ class SpaceshipRampGame extends BallGame with KeyboardEvents { ballLayer: Layer.spaceshipEntranceRamp, ); - static const info = ''' + static const description = ''' Shows how SpaceshipRamp is rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/spaceship_ramp/stories.dart b/packages/pinball_components/sandbox/lib/stories/spaceship_ramp/stories.dart index 1df27bed..40f78898 100644 --- a/packages/pinball_components/sandbox/lib/stories/spaceship_ramp/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/spaceship_ramp/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/spaceship_ramp/spaceship_ramp_game.dart'; void addSpaceshipRampStories(Dashbook dashbook) { dashbook.storiesOf('SpaceshipRamp').addGame( title: 'Traced', - description: SpaceshipRampGame.info, + description: SpaceshipRampGame.description, gameBuilder: (_) => SpaceshipRampGame(), ); } diff --git a/packages/pinball_components/sandbox/lib/stories/sparky_bumper/sparky_bumper_game.dart b/packages/pinball_components/sandbox/lib/stories/sparky_bumper/sparky_bumper_game.dart index 2673f095..0ac175e0 100644 --- a/packages/pinball_components/sandbox/lib/stories/sparky_bumper/sparky_bumper_game.dart +++ b/packages/pinball_components/sandbox/lib/stories/sparky_bumper/sparky_bumper_game.dart @@ -6,7 +6,7 @@ import 'package:sandbox/common/common.dart'; import 'package:sandbox/stories/ball/basic_ball_game.dart'; class SparkyBumperGame extends BallGame with Traceable { - static const info = ''' + static const description = ''' Shows how a SparkyBumper is rendered. - Activate the "trace" parameter to overlay the body. diff --git a/packages/pinball_components/sandbox/lib/stories/sparky_bumper/stories.dart b/packages/pinball_components/sandbox/lib/stories/sparky_bumper/stories.dart index eeb7b8c3..418636db 100644 --- a/packages/pinball_components/sandbox/lib/stories/sparky_bumper/stories.dart +++ b/packages/pinball_components/sandbox/lib/stories/sparky_bumper/stories.dart @@ -5,7 +5,7 @@ import 'package:sandbox/stories/sparky_bumper/sparky_bumper_game.dart'; void addSparkyBumperStories(Dashbook dashbook) { dashbook.storiesOf('Sparky Bumpers').addGame( title: 'Traced', - description: SparkyBumperGame.info, + description: SparkyBumperGame.description, gameBuilder: (_) => SparkyBumperGame(), ); }