pulsing method
- required Widget to(
- BuildContext context,
- T value
- bool when(
- T value
- Duration duration = const Duration(milliseconds: 1000),
Create a pulsing slot for attention.
Implementation
Widget pulsing({
required Widget Function(BuildContext context, T value) to,
bool Function(T value)? when,
Duration duration = const Duration(milliseconds: 1000),
}) {
return PulseSlot<T>(
connect: this,
to: to,
when: when,
duration: duration,
);
}