bluemix / Gradient-Widgets

Flutter widgets wrapped with gradients
Apache License 2.0
348 stars 48 forks source link

Double Cast issue #1

Closed ubheamar closed 5 years ago

ubheamar commented 5 years ago

Initializing gradle... 0.7s Resolving dependencies... 1.7s Running 'gradlew assembleRelease'... compiler message: file:///C:/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/gradient_widgets-0.3.0/lib/src/gradient_progress_indicator.dart:34:22: Error: A value of type 'dart.core::int' can't be assigned to a variable of type 'dart.core::double'. compiler message: Try changing the type of the left hand side, or casting the right hand side to 'dart.core::double'. compiler message: double prevValue = 0; compiler message: ^ Compiler terminated unexpectedly.

FAILURE: Build failed with an exception.

BUILD FAILED in 11s 12.3s Gradle build failed: 1

ubheamar commented 5 years ago

it should be 0.0

bluemix commented 5 years ago

although it builds successfully for the Android version, I also make the changes you mentioned and updated the library. thanks.