riverpod-pull-to-refresh

Official

Effortless pull-to-refresh with Riverpod.

Authorserverpod
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the implementation of pull-to-refresh functionality in Flutter applications using Riverpod, ensuring a smooth user experience for data updates.

Core Features & Use Cases

  • Seamless Data Refreshing: Integrates with Riverpod's AsyncValue to display loading states and previous data during refresh.
  • RefreshIndicator Integration: Provides clear instructions on wrapping scrollable widgets with RefreshIndicator for pull-to-refresh gestures.
  • Use Case: When a user pulls down on a list of news articles, the app automatically fetches the latest articles without losing the view of older ones, showing a subtle loading indicator.

Quick Start

Implement pull-to-refresh for the 'activityProvider' by calling 'ref.refresh(activityProvider.future)' within the 'onRefresh' callback of a RefreshIndicator.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: riverpod-pull-to-refresh
Download link: https://github.com/serverpod/skills-registry/archive/main.zip#riverpod-pull-to-refresh

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.