I dont want to use the WidgetStateProperty.resolveWith function to resolve it.
i cant find any thing online . please help me in finding a solution to the problem. Is there any way to add a effect on a widget on hover in flutter
I dont want to use the WidgetStateProperty.resolveWith function to resolve it.
i cant find any thing online . please help me in finding a solution to the problem. Is there any way to add a effect on a widget on hover in flutter
3
Answers
You can wrap the widget that is supposed to respond to mouse hovering with
MouseRegion
widget as follows:Using
Inkwell
You can add hover,Example:
or can be used
MouseRegion
Eg:
I hope this may help you to solve it,