From b5ae4f25f23dede4b592f5598ea2ec9cfd6da05c Mon Sep 17 00:00:00 2001 From: Erick Zanardo Date: Tue, 21 Apr 2020 09:32:16 -0300 Subject: [PATCH] Linting --- doc/examples/widgets/lib/main.dart | 32 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/examples/widgets/lib/main.dart b/doc/examples/widgets/lib/main.dart index 5bd869337..28cf196f9 100644 --- a/doc/examples/widgets/lib/main.dart +++ b/doc/examples/widgets/lib/main.dart @@ -13,11 +13,11 @@ void main() async { await Flame.images.load('buttons.png'); final _buttons = SpriteSheet( - imageName: 'buttons.png', - textureHeight: 20, - textureWidth: 60, - columns: 1, - rows: 2, + imageName: 'buttons.png', + textureHeight: 20, + textureWidth: 60, + columns: 1, + rows: 2, ); final dashbook = Dashbook(); @@ -45,18 +45,18 @@ void main() async { dashbook.storiesOf('SpriteButton').decorator(CenterDecorator()).add( 'default', (ctx) => Container( - padding: const EdgeInsets.all(20), - child: SpriteButton( - onPressed: () { - print('Pressed'); - }, - label: const Text( - 'Sprite Button', - style: const TextStyle(color: const Color(0xFF5D275D)), - ), - sprite: _buttons.getSprite(0, 0), - pressedSprite: _buttons.getSprite(1, 0), + padding: const EdgeInsets.all(20), + child: SpriteButton( + onPressed: () { + print('Pressed'); + }, + label: const Text( + 'Sprite Button', + style: const TextStyle(color: const Color(0xFF5D275D)), ), + sprite: _buttons.getSprite(0, 0), + pressedSprite: _buttons.getSprite(1, 0), + ), ), );