INNER CODE UNIT · Dart

defaultContainerExtentPercentageToArmed

gonuit/flutter-custom-refresh-indicator · lib/src/custom_refresh_indicator.dart:54

  static const defaultContainerExtentPercentageToArmed = 0.25 * (1 / 1.5);

  /// {@template custom_refresh_indicator.durations}
  /// Defines a durations that are used to control the duration of each phase,
  /// allowing you to adjust the behavior of the refresh indicator.
  /// {@endtemplate}
  final RefreshIndicatorDurations durations;

  /// {@template custom_refresh_indicator.notification_predicate}
  /// Determines whether the received [ScrollNotification] should
  /// be handled by this widget.
  ///
  /// By default, it only accepts *0* depth level notifications. This can be helpful
  /// for more complex layouts with nested scrollviews.
  /// {@endtemplate}
  final ScrollNotificationPredicate notificationPredicate;

  /// Whether to display leading scroll indicator

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…