PulseSlot<T> constructor

const PulseSlot<T>({
  1. Key? key,
  2. required Signal<T> connect,
  3. required Widget to(
    1. BuildContext context,
    2. T value
    ),
  4. bool when(
    1. T value
    )?,
  5. Duration duration = const Duration(milliseconds: 1000),
  6. double minScale = 0.95,
  7. double maxScale = 1.05,
  8. double minOpacity = 0.7,
  9. double maxOpacity = 1.0,
})

Implementation

const PulseSlot({
  super.key,
  required this.connect,
  required this.to,
  this.when,
  this.duration = const Duration(milliseconds: 1000),
  this.minScale = 0.95,
  this.maxScale = 1.05,
  this.minOpacity = 0.7,
  this.maxOpacity = 1.0,
});