withLifecycle method
SliverOverlapAbsorberHandle
withLifecycle(
- RaiiLifecycleAware lifecycleAware, {
- String? debugLabel,
Attaches this sliver overlap absorber handle to a RaiiLifecycleAware object for automatic disposal.
Implementation
SliverOverlapAbsorberHandle withLifecycle(
RaiiLifecycleAware lifecycleAware, {
String? debugLabel,
}) {
RaiiDisposeable.withLifecycle(
lifecycleAware,
dispose: dispose,
debugLabel: debugLabel,
);
return this;
}