SpringSlot<T extends num> constructor

const SpringSlot<T extends num>({
  1. Key? key,
  2. required Signal<T> connect,
  3. required Widget to(
    1. BuildContext context,
    2. double animatedValue
    ),
  4. SpringConfig spring = const SpringConfig(),
  5. double? clampMin,
  6. double? clampMax,
  7. VoidCallback? onSettled,
})

Implementation

const SpringSlot({
  super.key,
  required this.connect,
  required this.to,
  this.spring = const SpringConfig(),
  this.clampMin,
  this.clampMax,
  this.onSettled,
});