Open disha-nimble opened 5 years ago
I face that problem too. I am just testing your example class and when i click on radio buttons(every radio buttons), it cause problems
I'm trying to add to a project, but when I try to run I have the following error:
...flutter/.pub-cache/hosted/pub.dartlang.org/custom_radio-0.1.2/lib/custom_radio.dart:102:36: Error: The argument type 'Null Function(Null)' can't be assigned to the parameter type 'dynamic Function(void)'. Try changing the type of the parameter, or casting the argument to 'dynamic Function(void)'. _controller.reverse().then((Null value) {
I think it's related to this problem and may be someone can help me.
https://github.com/Eternali/custom_radio/issues/1#issuecomment-501947613,
Solved my problem.
How did you solve? The problem seems in the library dart code
You can edit the library code (CTRL + Click the import statement in Android Studio). The problem was fixed for me too using https://github.com/Eternali/custom_radio/issues/1#issuecomment-501947613
when i click on radio button i got error saying casting the argument to '(void)->dynamic'