Compilation Error

Actions & Logic


This is the error message:
60 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...
lib/flutter_flow/custom_functions.dart:15:14: Error: A non-null value must be returned since the return type 'List<String>' doesn't allow null.
- 'List' is from 'dart:core'.
List<String> countPendingTasks(int? taskList) { ^
Waiting for connection from debug service on Web Server... 65.4s

Failed to compile application.

Despite deleted my custom functions the problem persist..... help!!!

What have you tried so far?

Deleted the Data Type and the related Custom Function but problem persist.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
3 replies