ScrollActivity constructor

ScrollActivity(
  1. ScrollActivityDelegate _delegate
)

Initializes delegate for subclasses.

Implementation

ScrollActivity(this._delegate) {
  // TODO(polina-c): stop duplicating code across disposables
  // https://github.com/flutter/flutter/issues/137435
  if (kFlutterMemoryAllocationsEnabled) {
    FlutterMemoryAllocations.instance.dispatchObjectCreated(
      library: 'package:flutter/widgets.dart',
      className: '$ScrollActivity',
      object: this,
    );
  }
}