What happened?
the perameter placedInsets on the SpriteButton widget is not passed to InternalSpriteButton. This results in custom insets not being applies when a SpriteButton is pressed.
What do you expect?
when passing a custom value for pressedInsets into a SpriteButton widget the way that the label moves when the button is pressed should be altered, it is not.
How can we reproduce this?
create a SpriteButton widget and pass in any value of pressedInsets, that value has no effect on how the label is moved when the button is pressed.
What steps should take to fix this?
add
pressedInsets: pressedInsets
between lines 234 and 235 in main/packages/flame/lib/src/widgets/sprite_button.dart
Do have an example of where the bug occurs?
No response
Relevant log output
Execute in a terminal and put output into the code block below
Output of: flutter doctor -v
Affected platforms
All
Other information
No response
Are you interested in working on a PR for this?
What happened?
the perameter placedInsets on the SpriteButton widget is not passed to InternalSpriteButton. This results in custom insets not being applies when a SpriteButton is pressed.
What do you expect?
when passing a custom value for pressedInsets into a SpriteButton widget the way that the label moves when the button is pressed should be altered, it is not.
How can we reproduce this?
create a SpriteButton widget and pass in any value of pressedInsets, that value has no effect on how the label is moved when the button is pressed.
What steps should take to fix this?
add
pressedInsets: pressedInsets
between lines 234 and 235 in main/packages/flame/lib/src/widgets/sprite_button.dart
Do have an example of where the bug occurs?
No response
Relevant log output
Execute in a terminal and put output into the code block below
Output of: flutter doctor -v
Affected platforms
All
Other information
No response
Are you interested in working on a PR for this?