INNER CODE UNIT · Dart

CustomRefreshIndicatorState

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

class CustomRefreshIndicatorState extends State<CustomRefreshIndicator>
    with TickerProviderStateMixin {
  /// Whether custom refresh indicator can change
  /// [IndicatorState] from `idle` to `dragging`
  ///
  /// This state is determined by gestures and does not take into account
  /// the *isRefreshEnabled* flag.
  // bool _canStart = false;

  /// Indicating that indicator is currently stopping drag.
  /// When true, user is not able to perform any action.
  bool _isStopingDrag = false;

  late double _dragOffset;

  late AnimationController _animationController;
  IndicatorController? _internalIndicatorController;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…