Flutter Error: 'double? Function([String?, TextStyle?, double?])' cannot be assigned to 'FutureOr<double?> Function(List<dynamic>)'
The argument type 'double? Function([String?, TextStyle?, double?])' cannot be assigned to the parameter type 'FutureOr<double?> Function(List
To resolve this issue, you need to either change the parameter type to match the function signature or modify the function to match the expected parameter type.
If you want to change the parameter type to match the function signature, you can do so by changing the type from 'FutureOr<double?> Function(List
If you want to modify the function to match the expected parameter type, you can do so by updating the function signature to accept a list of dynamic values instead of individual parameters.
原文地址: https://www.cveoy.top/t/topic/bRoq 著作权归作者所有。请勿转载和采集!