You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type 'double' is not a subtype of type 'int'
#0 Color._convertCssToArgb
../…/src/property.dart:281
#1 new Color.css
../…/src/property.dart:92
#2 main
#3 _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:300:19)
#4 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
Presumably it's because the args are parsed as doubles (args.add(double.parse(param));) but the signature of convertToHexString expects ints for the first three params.
The text was updated successfully, but these errors were encountered:
Running in Dart 2.2, this code:
throws:
Presumably it's because the args are parsed as doubles (
args.add(double.parse(param));
) but the signature ofconvertToHexString
expectsint
s for the first three params.The text was updated successfully, but these errors were encountered: