SShortSingh.
Back to feed

pull_refresh: Pull-to-refresh and load-more for any Flutter scroll view

0
·11 views

pull_refresh is a new Flutter package that adds pull-to-refresh and load-more gestures to any scroll view, positioned as a clean-room replacement for pull_to_refresh. Its author says it was built to fix known edge cases in that library, such as controller crashes after disposal, headers that fail to collapse after a failed refresh, and unreliable load-more behavior on short lists. It works with ListView, GridView, CustomScrollView with slivers, SingleChildScrollView and NestedScrollView, and adapts its header style to the scroll physics in use. The package also includes built-in indicators, English, French and Arabic localisation with right-to-left layout support, and accessibility features. It is installed from GitHub and used by wrapping a list in a PullRefresh widget driven by a RefreshController.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

JDownloader Remote Control Calls for a Separate, Explicit Trust Review

A security write-up argues that enabling JDownloader's remote control should be treated as a distinct trust relationship that is documented on its own. It cites a ZoomEye search that returned 43 matching JDownloader instances, while stressing that this count does not show any instance is unauthenticated or directly reachable. The piece explains the difference between account-mediated access through MyJDownloader and direct connection mode, which can expose a local listener more openly. It recommends recording hosts, listening interfaces, TLS and firewall settings, and which accounts can add or remove devices. It also advises preferring account-based access, restricting any direct listener to management interfaces with supported authentication, and applying updates through official channels.

0
ProgrammingDEV Community ·

Feed CRM Lead Stages Back to Google Ads to Optimize for Revenue, Not Form Fills

Many B2B advertisers optimize Google Ads around form submissions, which lets Smart Bidding favor visitors who fill in forms but never buy. The article proposes sending later CRM milestones, such as qualification, proposal, and sale, back to Google Ads as offline conversions. The method involves storing the click ID on first visit, carrying it through to the CRM lead record, and having sales keep a fixed set of pipeline statuses up to date. Each status change is then uploaded to Google Ads with its click ID, timestamp, and optional value, typically through an API-based queue and worker.

0
ProgrammingDEV Community ·

DHVON: A Free, Offline-First Android Media Player Built Without Ads or Bloat

The developer behind DHVON built an Android media player aimed at users frustrated by ad-laden apps or outdated interfaces. The app merges a minimal, OLED-friendly design with gesture-based controls for local video and music, and it works without an internet connection or network permissions. Its decoding pipeline uses Media3 and FFmpeg, then hands unsupported formats such as DivX or MPEG-2 to libVLC in the background. The developer released version 3.0.1 under the GPL-3.0-or-later license, and the source is available on GitHub.

0
ProgrammingDEV Community ·

root_toast: Flutter toasts that stay visible above bottom sheets, dialogs and the keyboard

A Flutter developer describes a common issue where SnackBars from ScaffoldMessenger get hidden behind modal bottom sheets, dialogs, or the keyboard. They introduce root_toast, a package whose toasts are drawn in the root Overlay so they remain above every route and the keyboard. The package offers four toast types, three positions, and replace, queue, or stack policies for handling multiple toasts. It also supports swipe and tap dismissal, screen-reader announcements, reduced-motion support, and safe calls after an await. Installation is via GitHub, with setup options for widgets and for showing toasts from services without a BuildContext.