SynchronizedScrollController constructor

SynchronizedScrollController({
  1. required DoubleSheetConfig config,
  2. required SheetGestureController sheetController,
  3. VoidCallback? onClose,
  4. bool enableSynchronization = true,
})

Implementation

SynchronizedScrollController({
  required this.config,
  required this.sheetController,
  this.onClose,
  bool enableSynchronization = true,
}) : _enableSynchronization = enableSynchronization {
  sheetController.addListener(_onSheetPositionChanged);
}