AnimateIcons constructor
const
AnimateIcons({
- Key? key,
- required IconData startIcon,
- required IconData endIcon,
- required AnimateIconController controller,
- required bool onStartIconPress(),
- required bool onEndIconPress(),
- double size = 24.0,
- Duration duration = const Duration(milliseconds: 1000),
- Curve curve = Curves.easeInOut,
- bool clockwise = true,
- Color? startIconColor,
- Color? endIconColor,
- double amplitude = 180.0,
- double? splashRadius,
- Color splashColor = Colors.transparent,
- String? startTooltip,
- String? endTooltip,
Default constructor
Implementation
const AnimateIcons({
Key? key,
required this.startIcon,
required this.endIcon,
required this.controller,
required this.onStartIconPress,
required this.onEndIconPress,
this.size = 24.0,
this.duration = const Duration(milliseconds: 1000),
this.curve = Curves.easeInOut,
this.clockwise = true,
this.startIconColor,
this.endIconColor,
this.amplitude = 180.0,
this.splashRadius,
this.splashColor = Colors.transparent,
this.startTooltip,
this.endTooltip,
}) : super(key: key);