Questions tagged [iconbutton]
77 questions
0
votes
2 answers
How to put two IconButtons in the same Column (AppBar and Body)?
Is there any way how to have an IconButton in the AppBar and an IconButton in the Body the same column width? The splash radius should be default. Please have a look on a screenshot at the following link for an…

Fritz A
- 3
- 2
0
votes
1 answer
Iconbutton color doesn't change:
i need help. When I press Iconbutton the document is added (or deleted from) to Firestore , but the color of the Iconbutton doesn't change.
class DisplaydataScreen extends StatefulWidget {
const DisplaydataScreen({Key key}) : super(key: key);
…

ahmed
- 13
- 3
0
votes
1 answer
Flutter call to firebase works from one location but not the next
I have an odd bug I cant seem to work out. I am working on friend request system for my app and when a request is made it generates a "RequestTile" for each user, The user that sent the request shows one version of the RequestTile while the person…

Technorocker
- 103
- 14
0
votes
2 answers
How to fix IconButton onPressed property?
Hello my button's onPressed function is giving error (null is working). Any idea why? Below is the code. The first image asset is wrapped inside an IconButton and I wrote its onPressed property as "onPressed: () {}, thanks " but it is giving Dart…
0
votes
2 answers
Can't resolve 'react-transition-group' in MUI IconButton
This error
./node_modules/@mui/material/ButtonBase/TouchRipple.js
Module not found: Can't resolve 'react-transition-group' in '#/node_modules/@mui/material/ButtonBase'
keeps persisting although followed instructions and ran npm install…

L.P.
- 3
- 1
0
votes
3 answers
How to use static constructor in stateful widget flutter?
I want to make a clickable iconButton with a different boolean value init.
get the IconButton code :
Row(
children: [
CheckIcon(isCheck: true,),
CheckIcon(isCheck: false,),
CheckIcon(isCheck: true,),
],
),
IconButton Code :
import…

DVCone
- 109
- 2
- 12
0
votes
0 answers
Change color of Ripple for IconButton in Jetpack compose
This is not a duplicate of Modify ripple color of IconButton in Jetpack Compose This question was diverted in a different way...
I am trying to change the IconButton ripple colour as follows
IconButton(
modifier = modifier
…

Nik
- 2,913
- 7
- 40
- 66
0
votes
1 answer
Play Pause icon in single button (Audioplayer flutter)
'''
i Just want create a button that controlls the audio play pause state please some body let me know how can i do that?
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const…

Afthal Ad
- 91
- 1
- 7
0
votes
1 answer
Huge selection radius from Icon Buttons MUI React
just having some trouble getting rid of these huge selections on icon buttons which can be seen here:
Large selection
I have found a fix is adding: component="span"
Why does this work/is this a bug? I should also mention I have tested this with the…

YZeeGames
- 1
- 1
0
votes
0 answers
Toopltip inside IconButton not visible on tap
I have an iconButton box and inside it, I have a Tooltip icon like below:
{p.s === "app" && (

catBuddy
- 367
- 1
- 3
- 15
0
votes
2 answers
Flutter: How to change the color in the background (or overlay color) of an Icon when it's pressed?
Here my code:
IconButton(
icon: Icon(CupertinoIcons.add_circled),
color: Colors.orange,
iconSize: CustomTheme.iconSize,
splashColor: Colors.pink,
onPressed: () {
.....anything
…

Ayrix
- 433
- 5
- 16
0
votes
1 answer
Icon Button relesae tab event in Flutter
Am doing a TextForm Button with Suffex icoon button , I inteneded to show password only while am pressing the button and when I release it it should go back to password format. I could do it only with onyl press.
this is the code
TextFormField(
…

Bareq Raad
- 71
- 1
- 8
0
votes
0 answers
how to make an iconButton clickable in a stack which is in another stack
I'm new to flutter and I've this code which doesnt work because I get a red circle on my mouse when I try to click on one of my buttons, I've already been searching for days but I've n't found anything...
Hoewever I think the problem could be the…

LeGros
- 19
- 5
0
votes
1 answer
Flutter IconButton not setting state onPress
I am trying to get my IconButton to return a setState with a text value which we then render out further in the widget tree but it appears that the setState isn't being applied
IconButton _buildRating(message, color, icon) {
return IconButton(
…

Boss Nass
- 3,384
- 9
- 48
- 90
0
votes
1 answer
Can I have two actions in one IconButton?
I want the speech to text function to start when one microphone icon is pressed and the noise meter function to start at the same time.
Currently, the icon for speech to text and the icon for noise meter are separated.
Is there any way to combine…

lele
- 91
- 6