AnimateIcons constructor
const
AnimateIcons({})
Implementation
const AnimateIcons({super.key,
this.isButton = true,
/// The IconData that will be visible before animation Starts
required this.startIcon,
/// The IconData that will be visible after animation ends
required this.endIcon,
/// The callback on startIcon Press
/// It should return a bool
/// If true is returned it'll animate to the end icon
/// if false is returned it'll not animate to the end icons
required this.onStartIconPress,
/// The callback on endIcon Press
/// /// It should return a bool
/// If true is returned it'll animate to the end icon
/// if false is returned it'll not animate to the end icons
required this.onEndIconPress,
/// The size of the icon that are to be shown.
this.size,
/// AnimateIcons controller
required this.controller,
/// The color to be used for the [startIcon]
this.startIconColor,
// The color to be used for the [endIcon]
this.endIconColor,
/// The duration for which the animation runs
this.duration,
/// If the animation runs in the clockwise or anticlockwise direction
this.clockwise,
});