mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-01 01:18:38 +08:00 
			
		
		
		
	Linting
This commit is contained in:
		| @ -87,24 +87,23 @@ void main() async { | ||||
|     rows: 1, | ||||
|   ); | ||||
|   final _animation = _animationSpriteSheet.createAnimation( | ||||
|       0, | ||||
|       stepTime: 0.2, | ||||
|       to: 3, | ||||
|       loop: true, | ||||
|     0, | ||||
|     stepTime: 0.2, | ||||
|     to: 3, | ||||
|     loop: true, | ||||
|   ); | ||||
|   dashbook.storiesOf('FlameAnimationWidget').decorator(CenterDecorator()) | ||||
|       .add( | ||||
|           'default', | ||||
|           (ctx) => Container( | ||||
|               width: ctx.numberProperty('container width', 400), | ||||
|               height: ctx.numberProperty('container height', 200), | ||||
|               padding: const EdgeInsets.all(20), | ||||
|               child: FlameAnimationWidget( | ||||
|                   animation: _animation, | ||||
|                   play: ctx.boolProperty('playing', true), | ||||
|                   center: ctx.boolProperty('center', true), | ||||
|               ), | ||||
|   dashbook.storiesOf('FlameAnimationWidget').decorator(CenterDecorator()).add( | ||||
|         'default', | ||||
|         (ctx) => Container( | ||||
|           width: ctx.numberProperty('container width', 400), | ||||
|           height: ctx.numberProperty('container height', 200), | ||||
|           padding: const EdgeInsets.all(20), | ||||
|           child: FlameAnimationWidget( | ||||
|             animation: _animation, | ||||
|             play: ctx.boolProperty('playing', true), | ||||
|             center: ctx.boolProperty('center', true), | ||||
|           ), | ||||
|         ), | ||||
|       ); | ||||
|  | ||||
|   runApp(dashbook); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Erick Zanardo
					Erick Zanardo