s_maintenance_button 2.0.0 copy "s_maintenance_button: ^2.0.0" to clipboard
s_maintenance_button: ^2.0.0 copied to clipboard

A Flutter widget that provides a visual maintenance mode indicator button with animated glow effect. Only visible in debug/profile modes.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.0.0 #

  • package no longer holds the source code for it, but exports/exposes the s_packages package instead, which will hold this package's latest source code.
  • The only future changes to this package will be made via s_packages package dependency upgrades, in order to bring the new fixes or changes to this package
  • dependent on s_packages: ^1.1.2

1.0.0 - 2026-01-11 #

Added #

  • Initial release of s_maintenance_button
  • SMaintenanceButton widget with animated glow effect for maintenance mode indication
  • isOnMaintenance property to toggle maintenance state with visual feedback
  • activeColor property to customize the glow and button color when maintenance is active
  • nonActiveColor property to customize the icon color when maintenance is inactive
  • onTap callback for handling button interactions
  • Automatic visibility control - only visible in debug and profile modes
  • Animated pulsing glow effect when maintenance mode is active
  • Interactive example app with playground to test all features
  • Comprehensive test suite

Features #

  • Debug-only visibility: Widget renders as SizedBox.shrink() in release mode
  • Animated glow effect: Uses Glow2 widget with smooth pulsing animation
  • Customizable colors: Both active and inactive states can be customized
  • Tap handling: Optional callback for toggle or custom actions
0
likes
160
points
78
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget that provides a visual maintenance mode indicator button with animated glow effect. Only visible in debug/profile modes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, s_packages

More

Packages that depend on s_maintenance_button