Open rockstarvibu opened 5 years ago
After upgrading flutter_svg: ^0.14.1 to latest version its working fine in android but not in ios.
After upgrading version I get other errors: C:\Users\mishatron.gradle\caches\transforms-1\files-1.1\support-compat-28.0.0.aar\fb5eefc31324a551634e3e3113ad8402\res\values\values.xml:133:5-70: AAPT: error: resource android:attr/fontVariationSettings not found.
C:\Users\mishatron.gradle\caches\transforms-1\files-1.1\support-compat-28.0.0.aar\fb5eefc31324a551634e3e3113ad8402\res\values\values.xml:133:5-70: AAPT: error: resource android:attr/ttcIndex not found.
Also should be sdk28 for android to make it runnable
@bharatsood10 i've created a PR to fix the issue on iOS and make it runnable using the latest version of Flutter
See error code.... 03:15:21.315 44 info flutter.tools Try changing the type of the parameter, or casting the argument to 'DiagnosticsNode'. 03:15:21.315 45 info flutter.tools context: 'in _getDefinitionPaint', 03:15:21.315 46 info flutter.tools ^ 03:15:21.316 47 info flutter.tools - 'StringBuffer' is from 'dart:core'. 03:15:21.316 48 info flutter.tools - 'Iterable' is from 'dart:core'. 03:15:21.317 49 info flutter.tools - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('../../development/flutter/packages/flutter/lib/src/foundation/diagnostics.dart'). 03:15:21.317 50 info flutter.tools Try changing the type of the parameter, or casting the argument to 'Iterable Function()'.
03:15:21.317 51 info flutter.tools informationCollector: (StringBuffer buff) {
03:15:21.317 52 info flutter.tools ^
03:15:21.319 53 info flutter.tools
03:15:21.319 54 info flutter.tools - 'StringBuffer' is from 'dart:core'.
03:15:21.319 55 info flutter.tools - 'Iterable' is from 'dart:core'.
03:15:21.319 56 info flutter.tools - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('../../development/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
03:15:21.319 57 info flutter.tools Try changing the type of the parameter, or casting the argument to 'Iterable Function()'.
03:15:21.319 58 info flutter.tools informationCollector: (StringBuffer buff) {
03:15:21.319 59 info flutter.tools ^
03:15:21.321 60 info flutter.tools - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('../../development/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
03:15:21.321 61 info flutter.tools Try changing the type of the parameter, or casting the argument to 'DiagnosticsNode'.
03:15:21.321 62 info flutter.tools context: 'in parseSvgElement',
03:15:21.321 63 info flutter.tools ^
03:15:23.549 64 info flutter.tools Compiler failed on /Users/bharat/Downloads/bmi_calculator-master/lib/main.dart
03:15:23.549 65 info flutter.tools Error launching application on iPhone XR.