A highly customizable, powerful and easy-to-use alerting library for Android, built with Kotlin.
Flashbar is an Android library for displaying highly customizable alert messages and notifications within mobile applications. It solves the problem of limited styling and interaction options in standard Android components like Snackbar and Toast by providing extensive control over appearance, animations, and behavior.
Android developers building apps that require branded, interactive, or complex user notifications beyond the capabilities of standard Android alert components.
Developers choose Flashbar for its extensive customization options, fluent builder API, and rich feature set—including animations, action buttons, and event listeners—which allow for seamless integration of polished alerts that match any app's design language.
⚡️A highly customizable, powerful and easy-to-use alerting library for Android.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The library offers deep control over UI elements like colors, fonts, backgrounds, and icons, as demonstrated in the README with examples for title, message, and action button styling.
Flashbar provides a fluent API for customizing enter/exit animations and icon effects, shown with code snippets for slide, pulse, and alpha animations in the Animations section.
Supports primary, positive, and negative action buttons with tap listeners, enabling interactive alerts similar to dialogs, as detailed in the Actions section with examples.
Developers can listen to show, dismiss, and tap events with progress updates, allowing precise control over notification behavior, as explained in the Event Listeners section.
Includes swipe-to-dismiss, vibration feedback, and modal overlays, enhancing user experience beyond standard alerts, with examples in the Miscellaneous and Background sections.
The README explicitly lists coordinator layout support as a future feature in the roadmap, limiting integration with modern Android UI patterns like collapsing toolbars.
Lack of a flashbar manager for handling multiple notifications in sequence is acknowledged as a pending feature, requiring manual management for complex alert flows.
With numerous builder methods and customization options, the API can be overwhelming for simple use cases, leading to verbose code compared to Snackbar's minimal setup.
The library is distributed via jCenter, which has been deprecated, potentially causing maintenance and dependency resolution issues if not migrated to Maven Central.
Flashbar is an open-source alternative to the following products:
Toast is a popular Android library for displaying simple alert messages (toasts) to users with customizable styling and positioning.
Snackbar is a lightweight Android library for displaying brief, non-intrusive messages (toasts) at the bottom of the screen, often used for notifications or user feedback.