ERROR: A constant constructor can't call a non-constant super constructor.

Hi all,

I've been continuously getting this error:

Error: A constant constructor can't call a non-constant super constructor.

      : super(key: key, children: children);

        ^

Target kernel_snapshot failed: Exception


for both the radial and the linear gauges. Could anyone help in fixing it?

Thank you!

Riccar



1 Reply

LP Lokesh Palani Syncfusion Team June 19, 2023 11:14 AM UTC

Hi Riccardo,


The reported issue "A constant constructor can't call a non-constant super constructor” linter warnings has been raised in the Flutter SDK version. We have resolved the issue in the latest syncfusion_flutter_gauges package. To avoid this issue, please use the latest syncfusion_flutter_gauges package and the latest Flutter SDK version. Please let us know if you need any further assistance. 


Regards,

Lokesh.


Loader.
Up arrow icon