I know that icon use AnimatedIcon from Flutter package. But the available icons doesn't fit my needs. What i want is to build/draw my own AninimatedIcon (from default IconData or not). Is there any way to achieve this?
Please see an example Here
I know that icon use AnimatedIcon from Flutter package. But the available icons doesn't fit my needs. What i want is to build/draw my own AninimatedIcon (from default IconData or not). Is there any way to achieve this?
Please see an example Here
Just add the plugin, set the dependencies, imports and use it like this:
AnimateIcons(
startIcon: Icons.add,
endIcon: Icons.close,
size: 60.0,
onStartIconPress: () {
    print("Clicked on Add Icon");
},
onEndIconPress: () {
    print("Clicked on Close Icon");
},
duration: Duration(milliseconds: 500),
color: Theme.of(context).primaryColor,
clockwise: false,
),