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

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

floaty_chatheads_platform_interface #

style: very good analysis License: MIT

The platform interface for floaty_chatheads -- the successor to floaty_chathead.

This package defines the abstract contract (FloatyChatheadsPlatform), configuration models (ChatHeadConfig, ChatHeadTheme, ContentSizePreset, etc.), and the method-channel fallback shared by the Android and iOS implementations.

Usage #

To implement a new platform-specific implementation of floaty_chatheads, extend FloatyChatheadsPlatform with an implementation that performs the platform-specific behavior, and register it via FloatyChatheadsPlatform.instance.

Models #

Model Description
ChatHeadConfig Full overlay configuration (entry point, dimensions, flags, snap, animation, theme, debug)
ChatHeadTheme Badge colors, bubble border, shadow, close tint, overlay palette
ContentSizePreset Named size presets: compact, card, halfScreen, fullScreen
AddChatHeadConfig ID + icon for adding a bubble to the group
OverlayPosition x/y coordinates of the overlay
OverlayFlag Window behavior flags
SnapEdge Edge snapping mode
EntranceAnimation Entry animation variants
NotificationVisibility Foreground-service notification visibility
0
likes
150
points
0
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