SShortSingh.
Back to feed

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

0
·2 views

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.

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 ·

European Startups Weigh GDPR Duties in Choosing an SMS Alert API for Password Resets

A developer guide argues that password-reset SMS messages carry retention risks that outlast the messages themselves, since copies in logs and storage can persist for months. It suggests startups keep reset templates and expiry rules inside their own application rather than with an SMS provider, and retain only delivery evidence instead of full message contents or credentials. The article presents illustrative storage estimates for a workload of 100,000 daily attempts, noting these are design inputs rather than measured vendor costs. It also promotes Infrai as an SMS and email transport option with discoverable API schemas, a single key for both channels, and documented idempotency, while acknowledging that real-time inbound handling may call for a specialist provider. The piece stresses that sender registration and API use do not by themselves establish GDPR compliance.