Skip to content

Installation

smart_refresher is a powerful Flutter widget designed to provide seamless pull-to-refresh and infinite-scroll loading for any scrollable widget. It is compatible with Flutter 3.x and Dart 3.

  1. Add Dependency Add smart_refresher to your pubspec.yaml file:

    dependencies:
    smart_refresher: ^1.0.0
  2. Install Package Run the following command in your terminal to fetch the package:

    Terminal window
    flutter pub get
  3. Import the Library Add the import statement to your Dart files where you intend to use the refresher:

    import 'package:smart_refresher/smart_refresher.dart';

smart_refresher supports all major Flutter platforms out of the box:

PlatformSupportStatus
Android✅ SupportedFull Material 3 Support
iOS✅ SupportedNative iOS 17 Feel & Haptics
Web✅ SupportedWASM / CanvasKit Optimized
Desktop✅ SupportedmacOS, Windows, Linux
  • Flutter: 3.27.0 or higher
  • Dart: 3.0.0 or higher
  • No external dependencies: We keep the package lightweight and robust.