Custom Pull-to-refresh
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- mobile-dev
Research direction
Start by reproducing the provided Column, Expanded, ListView, and footer example, then inspect the current pull-to-refresh integration and the hasScrollBody false path. Done should include a non-throwing layout with pull-to-refresh and a supported way to supply custom pull-to-refresh behavior, including the nested-scroll use case described in the issue.
Written by the indexing model from the issue text.
Description
With your current implementation, it seems that if I have a ListView inside a Column for instance (with a footer), the pull-to-refresh doesn't work.
Column(
children: <Widget>[
Expanded(
child: ListView(
children: List.generate(20, (index) => Text('$index')),
itemExtent: 100,
),
),
Text('Footer'),
],
);
And if I set hasScrollBody: false, it throws.
I guess I would have to use the PullToRefersh directly above the ListView, inside the Expanded.
Maybe the pull-to-refresh should be optionnal or external, so we can use our custom behaviour ?
For instance I could want to implement a custom PullToRefresh component like this.
Thanks.
- Dominant language
- Dart
- Stars
- 17
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MarcelGarus/flutter_cached
-
Caching strategiesOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Add animationMay be free again @MarcelGarus claimed this 2572 days ago, and no pull request is open. Openenhancement
MarcelGarus/flutter_cached#1 · 1 assignee ·
All issues in MarcelGarus/flutter_cached
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
ymm-oss/flutter-mobile-project-template#684 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
🚀 [firebase_core] Bump Firebase iOS SDK (13.0.0 → 13.1.0)Possibly taken @SelaseKay claimed this today. OpenNeeds Attention type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
firebase/flutterfire#18848 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue spells
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 5 days