floaty_chatheads_platform_interface 1.0.5 copy "floaty_chatheads_platform_interface: ^1.0.5" to clipboard
floaty_chatheads_platform_interface: ^1.0.5 copied to clipboard

Platform interface for floaty_chatheads. Defines the abstract contract, configuration models, and method-channel fallback shared by Android and iOS implementations.

Changelog #

1.0.5 #

✨ Enhancements #

  • Added updateChatHeadIcon() to the platform interface. New abstract method that pushes raw RGBA pixel data to the native layer, enabling real-time animated chathead icons driven from Dart.
  • Added matching implementation in MethodChannelFloatyChatheads.

📦 Dependencies #

  • Removed package:meta dependency -- replaced with package:flutter/foundation.dart imports across all model files.

1.0.4 #

✨ Enhancements #

  • Added autoLaunchOnBackground to ChatHeadConfig. When true, the chathead is automatically shown when the app goes to the background and dismissed when the app returns to the foreground.
  • Added persistOnAppClose to ChatHeadConfig. When true, the overlay service uses START_STICKY and survives after the main app is killed. When false, the service stops itself on disconnect.

1.0.3 #

✨ Enhancements #

  • Added NotificationConfig.description field. When set, the foreground-service notification uses a custom title and body instead of the default "<title> is running" format.

1.0.2 #

📦 Metadata #

  • Added example/example.md for the pub.dev example tab.

1.0.1 #

  • Documentation and metadata updates.

1.0.0 #

🎉 Initial Release #

  • FloatyChatheadsPlatform abstract interface with 13 platform methods.
  • ChatHeadConfig — full configuration model with theming, size presets, snap behavior, entrance animations, and debug mode.
  • ChatHeadTheme — badge colors, bubble border, shadow, close tint, and overlay palette.
  • ContentSizePresetcompact, card, halfScreen, fullScreen.
  • AddChatHeadConfig, OverlayPosition, OverlayFlag, SnapEdge, EntranceAnimation, NotificationVisibility models.
  • MethodChannelFloatyChatheads fallback implementation.
  • VGV-style {@template} / {@macro} documentation on all public APIs.
0
likes
160
points
152
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Platform interface for floaty_chatheads. Defines the abstract contract, configuration models, and method-channel fallback shared by Android and iOS implementations.

Homepage
Repository (GitHub)
View/report issues

Topics

#overlay #chathead #floating-window #platform-interface

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on floaty_chatheads_platform_interface