Custom radio button in flutter Create Custom radio button using list as data and OutlineButton. In this project, there is two radio group One with Texts. Second with Icons. !. Create Widget for first Radio group. 2. changeIndex method 3. Create Second Widget for Second Radio group with Icons. 3. changeSecondaryIndex Method Whole Program Code.