FadeRAWA class

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.

Implemented types
Annotations

Constructors

FadeRAWA({Duration popupDuration = const Duration(milliseconds: 200), Curve popupCurveIn = Curves.easeIn, Curve popupCurveOut = Curves.easeOut, Duration buttonDuration = const Duration(milliseconds: 200), Curve buttonCurve = Curves.easeInOut})
Prebuilt animation provider for a RichAttributionWidget
const

Properties

buttonCurve Curve
The curve of the animation used when toggling the state of the open/close button
final
buttonDuration Duration
The duration of the animation used when toggling the state of the open/close button
final
hashCode int
The hash code for this object.
no setterinherited
popupCurveIn Curve
The curve of the animation used when making the popup box visible
final
popupCurveOut Curve
The curve of the animation used when making the popup box invisible
final
popupDuration Duration
The duration of the animation used when toggling the visibility of the popup box
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
popupAnimationBuilder({required BuildContext context, required bool isExpanded, required RichAttributionWidget config, required Widget child}) Widget
Builder for the popup box animation
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited