Questions tagged [iconbutton]

77 questions
0
votes
1 answer

iconButton color for favorite function does not stay as designated favorite color after leaving the page

im creating a favorite function using provider to favorite an item to the favorite page. Here is my FavoriteProvider code. import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import…
0
votes
1 answer

I am having multiple icons in a Gesture detector but when i tap one it needs to be reflected in the primary icon button

This is my gesture detector icons in my code.. GestureDetector( onTap: () {}, child: const Icon(Iconsax.music, color: Colors.deepPurple), ), …
Devendiran
  • 99
  • 9
0
votes
2 answers

Flutter: Conditional statement for my IconButton is not working

I only want my iconButton to show if there is more info on my row. What is the correct way to code this? My if has red error mark on it. if(item.info != ""){ child: IconButton( …
0
votes
2 answers

Flutter align IconButton to the right in Row

Here is my code; SizedBox( width: size.width, child: Row( children: [ Padding( padding: const EdgeInsets.only(left: 10, bottom: 10, top: 10), child: ClipRRect( …
0
votes
1 answer

The issue is with incriment quantity ,decriment quantity and product price

When I pressed one button The other buttons automatically pressed .I don't know the issue . And the second is with product price when i incriment the item the price become 100100 if i have price 100 Please solve my issues. Here is my code int…
0
votes
0 answers

How to call and show the data from an api, in IconButton

I want to call and show the data '800000.00' which is coming from an api, just below of the IconButton text 'ক্যাশ' I have created a widget to click and show data from an api which uses get request. I want to show the api data just below of the…
saadbp
  • 1
0
votes
0 answers

icon popping in top left corner of AppBar when going back from Filter screen to Homepage using IconButton

when i click iconButton from homepage it directs me to Filter Menu which i created,but when i click IconButton arrow (back button) to go back that same arrow pops up in the top left corner of appBar this is pic of the problem: here is my Filter…
WhoDoYou
  • 3
  • 1
0
votes
1 answer

Point after the button with icon after material update to 15?

After material update to 15 i see this point after the button with icon?
Juri
  • 1,531
  • 2
  • 20
  • 43
0
votes
1 answer

IconButton widget in my flutter app takes 2-3 seconds to render. Why does this happen?

I am a flutter newbie. I have two IconButtons in my android flutter app. When i run the app the two IconButtons take 2 seconds to render after all other components have rendered. This is my code, The IconButtons are used in the end: class…
0
votes
2 answers

IconButton's color displays weirdly

I had tried to imitate to this below tips to display the IconButton the same as below image: These are links I had made reference to: How to set background color for an icon…
0
votes
1 answer

How to implement delete function of a row in MUI DataGrid (js)

I have delete icon button in my grid, in each row. It doesn't delete a row however. Could anyone help, please? I am creating a todo app, and each row got to have its own delete button. For some reason, I can't connect deleteTodo component to that…
0
votes
0 answers

Keep Mui IconButton selected

I have a Mui-IconButton in my code, and I am without success trying to keep it selected also afted I clicked on another part of the page. I want to achieve the same as with the.Mui-selected class, but…
Mavix87
  • 13
  • 2
0
votes
2 answers

How to change iconbutton to it's default backcolor when clickevent is not performed?

I have 20 iconbuttons in my form. when clickevent is performed i want to change buttons(backcolor,forecolor,Iconcolor) and remaining buttons should revert to it's default color. public void btn1() { foreach (Control c in…
0
votes
2 answers

Flutter: IconButton selectedIcon not applying

I want to create an effect of changing the icon to its fill version on press on an IconButton, and I am using the selectedIcon option to achieve it. The problem is that the icon is not changing event though I think I have done the right…
0
votes
1 answer

Flutter - Show ripple effect in IconButton over gradient

I'm trying to create a back button using an IconButton over a gradient, but the ripple effect shows below the gradient which is not the desired behavior. I've seen similar problems which can be resolved using the Material widget but it can only…
Eddy Todd
  • 71
  • 11