mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
Adds checking for trailling commas on the project (#670)
* Testing a new linter option for trailling commas * Checking trailling commas on linter
This commit is contained in:
@ -37,24 +37,25 @@ void main() async {
|
||||
|
||||
final nineTileBoxImage = await Flame.images.load('nine_tile_box.png');
|
||||
dashbook.storiesOf('NineTileBox').decorator(CenterDecorator()).add(
|
||||
'default',
|
||||
(ctx) => Container(
|
||||
width: ctx.numberProperty('width', 200),
|
||||
height: ctx.numberProperty('height', 200),
|
||||
child: NineTileBox(
|
||||
image: nineTileBoxImage,
|
||||
tileSize: 16,
|
||||
destTileSize: 50,
|
||||
child: const Center(
|
||||
child: const Text(
|
||||
'Cool label',
|
||||
style: const TextStyle(
|
||||
color: const Color(0xFFFFFFFF),
|
||||
),
|
||||
'default',
|
||||
(ctx) => Container(
|
||||
width: ctx.numberProperty('width', 200),
|
||||
height: ctx.numberProperty('height', 200),
|
||||
child: NineTileBox(
|
||||
image: nineTileBoxImage,
|
||||
tileSize: 16,
|
||||
destTileSize: 50,
|
||||
child: const Center(
|
||||
child: const Text(
|
||||
'Cool label',
|
||||
style: const TextStyle(
|
||||
color: const Color(0xFFFFFFFF),
|
||||
),
|
||||
),
|
||||
),
|
||||
));
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
final buttonsImage = await Flame.images.load('buttons.png');
|
||||
final _buttons = SpriteSheet(
|
||||
|
||||
Reference in New Issue
Block a user