NumericSignalSlotExtensions<T extends num> extension

Extensions for numeric signals with interpolation.

on

Methods

bouncy({required Widget to(BuildContext context, double animatedValue)}) Widget

Available on Signal<T>, provided by the NumericSignalSlotExtensions extension

Create a bouncy spring animation.
interpolated({required Widget to(BuildContext context, double animatedValue), Duration duration = const Duration(milliseconds: 500), Curve curve = Curves.easeOutCubic}) Widget

Available on Signal<T>, provided by the NumericSignalSlotExtensions extension

Create an AnimatedValueSlot that interpolates the numeric value.
smooth({required Widget to(BuildContext context, double animatedValue)}) Widget

Available on Signal<T>, provided by the NumericSignalSlotExtensions extension

Create a smooth spring animation.
spring({required Widget to(BuildContext context, double animatedValue), SpringConfig config = const SpringConfig(), double? clampMin, double? clampMax}) Widget

Available on Signal<T>, provided by the NumericSignalSlotExtensions extension

Create a SpringSlot with physics-based animation.