INNER CODE UNIT · Dart

IndicatorController

gonuit/flutter-custom-refresh-indicator · lib/src/indicator_controller.dart:3

class IndicatorController extends Animation<double>
    with
        AnimationEagerListenerMixin,
        AnimationLocalListenersMixin,
        AnimationLocalStatusListenersMixin,
        ClampingWithOverscrollPhysicsState {
  double _value;

  /// Represents the **minimum** value that an indicator can have.
  static double get minValue => 0.0;

  /// Represents the **maximum** value that an indicator can have.
  static double get maxValue => 1.5;

  /// Current indicator value / progress
  @override
  double get value => _value;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…