RotatedIconAnimation<T> constructor

const RotatedIconAnimation<T>({
  1. Key? key,
  2. required Duration duration,
  3. required Future<T> onPress(),
  4. required dynamic onAsyncCallFinished(
    1. T
    ),
  5. required Text buttonText,
  6. required Widget icon,
  7. required Color color,
  8. required double buttonHeight,
  9. required BorderRadius? buttonRadius,
  10. required BoxShadow? buttonShadow,
  11. required double buttonWidth,
})

Implementation

const RotatedIconAnimation({
  Key? key,
  required this.duration,
  required this.onPress,
  required this.onAsyncCallFinished,
  required this.buttonText,
  required this.icon,
  required this.color,
  required this.buttonHeight,
  required this.buttonRadius,
  required this.buttonShadow,
  required this.buttonWidth,
}) : super(key: key);