Radio button

Widgets & Design

We want to create a quiz app and inside the quize we have a random question and with multiple choices by using radio button based on that how to get the question and option because when we run the app it disabled the question and the option and it shows for us this message :

RadioButton widget with the current configuration will not function properly when generated dynamically at the moment (because it is associated with a local state variable). Consider wrapping it inside of a component and then generate the component dynamically.

What have you tried so far?

First we try to put a text instead of radio button it's work but when we try to put a radio button it unable to get the option and also the disabled the question and it appear this problem.

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