FadeRAWA constructor

const FadeRAWA({
  1. Duration popupDuration = const Duration(milliseconds: 200),
  2. Curve popupCurveIn = Curves.easeIn,
  3. Curve popupCurveOut = Curves.easeOut,
  4. Duration buttonDuration = const Duration(milliseconds: 200),
  5. Curve buttonCurve = Curves.easeInOut,
})

Prebuilt animation provider for a RichAttributionWidget

Provides a fading/opacity animation for the popup box.

Allows further customisation of the popup box's animation duration and curves, as well as the open/close button's.

Implementation

const FadeRAWA({
  this.popupDuration = const Duration(milliseconds: 200),
  this.popupCurveIn = Curves.easeIn,
  this.popupCurveOut = Curves.easeOut,
  this.buttonDuration = const Duration(milliseconds: 200),
  this.buttonCurve = Curves.easeInOut,
});