throttled method
- required Widget to(
- BuildContext context,
- T value
- Duration duration = const Duration(milliseconds: 100),
Create a throttled slot.
Implementation
Widget throttled({
required Widget Function(BuildContext context, T value) to,
Duration duration = const Duration(milliseconds: 100),
}) {
return ThrottleSlot<T>(
connect: this,
to: to,
duration: duration,
);
}