[Solved] Flutter The following NoSuchMethodError was thrown while calling onChanged

2023/04/28 5:16

Error

The following NoSuchMethodError was thrown while calling onChanged:
Closure call with mismatched arguments: function ‘_EditorPageState._saveChange’
Receiver: Closure: (dynamic) => dynamic from Function ‘_saveChange@45362482’:.
Tried calling: _EditorPageState._saveChange()
Found: _EditorPageState._saveChange(dynamic) => dynamic

Solution

You are calling a method that does not exist.

Leave a Reply

Back to top