From c8fdbaf7a6e00a45abca3c93e17b93836723e81f Mon Sep 17 00:00:00 2001 From: Anatoly Pulyaevskiy Date: Mon, 23 Jul 2018 21:36:21 -0700 Subject: [PATCH] Fixed analysis warnings --- lib/parallax_image.dart | 9 +++------ pubspec.yaml | 7 ++----- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/lib/parallax_image.dart b/lib/parallax_image.dart index 23a696f..67838d1 100644 --- a/lib/parallax_image.dart +++ b/lib/parallax_image.dart @@ -38,8 +38,7 @@ class ParallaxImage extends StatelessWidget { this.controller, this.color, this.child, - }) - : super(key: key); + }) : super(key: key); /// The image to paint. final ImageProvider image; @@ -103,8 +102,7 @@ class _Parallax extends SingleChildRenderObjectWidget { @required this.screenSize, this.color, Widget child, - }) - : super(key: key, child: child); + }) : super(key: key, child: child); final ImageProvider image; final ScrollPosition scrollPosition; final Size screenSize; @@ -138,8 +136,7 @@ class _RenderParallax extends RenderProxyBox { Color color, ImageConfiguration configuration: ImageConfiguration.empty, RenderBox child, - }) - : _image = image, + }) : _image = image, _scrollPosition = scrollPosition, _screenSize = screenSize, _color = color, diff --git a/pubspec.yaml b/pubspec.yaml index df15786..66cb729 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,15 +1,12 @@ name: parallax_image description: A Flutter widget that paints an image and moves it at a slower speed than the main scrolling content. -version: 0.3.0 +version: 0.3.1 homepage: https://github.com/pulyaevskiy/parallax-image author: Anatoly Pulyaevskiy environment: - sdk: '>=2.0.0-dev <2.0.0' + sdk: '>=2.0.0-dev <3.0.0' dependencies: flutter: sdk: flutter - -# dev_dependencies: -# test: ^0.12.0