Questions tagged [flutter-radiobutton]
13 questions
2
votes
1 answer
Flutter: Radio and Switch buttons isn't updating inside a listview.builder, but it works outside
I'm using a form to create multiples vehicle entries.
every time I click on the floating button it adds a vehicleform to the page one on top of the other. "A List type that receives widgets"
If I try to select the "leased radio option", the form…

Jacob Athias
- 67
- 1
- 6
2
votes
1 answer
Flutter AlertDialog widget size issue on different resolution devices
https://i.stack.imgur.com/oUxNk.jpg
I wanted like this. I have used RadioListTile in ALertDialog. It results in diffrent sized Dialog box in different android devices. Thus resulted in overflowing pixel errors or just a black screen.
Here is my…

Dayona Joseph
- 31
- 6
1
vote
0 answers
Flutter. How to correctly update state of nested widgets?
I'm new in flutter and I'm trying to implement something like radio group with custom buttons in Android. For this I created StatefulWidget, which hold list of selectable buttons. For every button I was set press listener where I do something like…

testivanivan
- 967
- 13
- 36
1
vote
2 answers
radio button not working in streambuilder
I run radio button widgets in Streambuilder, but the selected option does not become active when the selection is made, why?
I am facing this problem when I want to select by String value.
What part am I doing wrong in this case?
Ra
Could you…

VolkanUstekidag
- 345
- 2
- 8
0
votes
3 answers
How to set RadioLisTile widget take as minimum space as it needs
I have used flexible widget here but that just dividing the space equaly for every widget.
But I want them to take as minimum as they need because some title has more lenth.
I have seen that If I dont give them Flexible or Extended widget on…

Ahmed Noman
- 37
- 5
0
votes
2 answers
Flutter ListView becomes sloppy and slow when using RadioListTile or Radio buttons in each item
I am trying to implement a listview where I will show the questions of a quiz and each questions will have 4 radio buttons. But when the list gets bigger like 30-50 items the listview scroll becomes very sloppy and laggy. without radio but only text…

Rain
- 21
- 5
0
votes
1 answer
I want to use check box in my project but facing this error
enter image description hereenter image description here
1: I want to use check box but facing this error again and again.. I'm new in flutter what do I do now. https://i.stack.imgur.com/m9PdK.jpg
0
votes
2 answers
How to customize the checkboxes, radio buttons and Rang slider in Flutters?
Hello Folks I am playing with Buttons to customize the buttons but I didn't find a way to approach the expected design. basically, I wanted to customize the 1) Multiple checkBoxes with Grey color Background and Black color Check Mark 2) RangeSlider…

shanmkha
- 416
- 1
- 8
- 27
0
votes
1 answer
how to select ,deselect and disable items?
I have cards in my app and each card has 4 items with grey color, if the item is selected then its color change to blue and the same item in other cards should disable am unable to do that using maps collection. So I have items like IT, DEV, TEST,…

shanmkha
- 416
- 1
- 8
- 27
0
votes
1 answer
RadioListTile issue when used on PageView.builder
I am pulling Quiz data from API, and using StreamBuilder
Using PageView.builder to show each Question & Options in separate page
RadioListTile for Options and using maps to iterate answers from List
The Issue is --> whenever I select any Option in…

Indrajeet Singh
- 62
- 2
- 10
0
votes
1 answer
How to fetch radioButton values inside an onPressed method in Flutter
I'm trying to write an easier version of a shopping application using flutter but I'm having an issue when writing the onPressed method of a button I have which is supposed to contain the value of the radio button clicked (i have three radiobuttons)…

dev
- 91
- 1
- 2
- 12
0
votes
2 answers
GestureDetector and Radio
I would like to execute some code when I press on Radio. GestureDetector works everywhere, but not here. If you run the code bellow, you get response (print) when tapping on Text, but not when tapping on Radio (both are wrapped in same…

MayJ
- 133
- 6
-1
votes
1 answer
How to get Radio to work on flutter when using dynamic object?
I'm new to flutter and I have issues with Radio.
I got it to work perfectly when using the "regular" method:
int _groupValue=-1;
...
...
child: Align(
alignment: Alignment.center,
child: Column(
…

user2396640
- 359
- 4
- 24