FadedAnimation<T> constructor

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

Implementation

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