INNER CODE UNIT · Dart

ScrollViewOnceObserveNotification

fluttercandies/flutter_scrollview_observer · lib/src/notification.dart:9

class ScrollViewOnceObserveNotification extends Notification {
  /// Whether to return the observation result directly without comparing.
  final bool isForce;

  /// Whether to depend on the observe callback.
  ///
  /// If true, the observe callback will be called when the observation result
  /// come out.
  final bool isDependObserveCallback;
  ScrollViewOnceObserveNotification({
    this.isForce = false,
    this.isDependObserveCallback = true,
  });
}

/// The Notification for Triggering an ListView observation
class ListViewOnceObserveNotification
    extends ScrollViewOnceObserveNotification {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…