· A London based developer who loves Flutterflow!

Unknown error compiling custom code.

Custom Code

I use the syncfusion_flutter_calendar: in my project.

As of 24 hours ago, it just stopped working and I'm unable to compile and run both of my apps that use this. When I try to run I get the following stop error:

88 packages have newer versions incompatible with dependency constraints.

Try flutter pub outdated for more information.

Launching lib/main.dart on Web Server in debug mode...

Waiting for connection from debug service on Web Server...

/root/.pub-cache/hosted/pub.dev/syncfusion_flutter_datepicker-25.2.5/lib/src/date_picker/theme.dart:83:55: Error: The getter 'surfaceContainerHighest' isn't defined for the class 'ColorScheme'.

- 'ColorScheme' is from 'package:flutter/src/material/color_scheme.dart' ('/sdks/flutter/packages/flutter/lib/src/material/color_scheme.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'surfaceContainerHighest'.

Color? get weekNumberBackgroundColor => colorScheme.surfaceContainerHighest;

^^^^^^^^^^^^^^^^^^^^^^^

Waiting for connection from debug service on Web Server... 69.8s

Failed to compile application.

No matter what I do, I can't seem to fix it. Does anyone out there have the same issue?

Thanks for your help,

John

What have you tried so far?

Downgrading the version of the calendar widget - but it made no difference.

Did you check FlutterFlow's Documentation for this topic?
No
2
8 replies