extra_field 0.1.0 copy "extra_field: ^0.1.0" to clipboard
extra_field: ^0.1.0 copied to clipboard

A rich composer input field for Flutter — inline trigger detection (#, @, $), action buttons, sticker panels, attachment previews, async validators, and a send button. Zero external dependencies.

0.1.0 #

Initial release.

Features #

  • ExtraFieldWidget — Rich composer input field (WhatsApp / Telegram / Twitter style).
  • Inline Triggers — Type #, @, $, or any character to activate autocomplete suggestions with styled inline text. Supports static lists and async search with debounce.
  • Action ButtonsExtraFieldAction.media(), .stickers(), .location(), .custom() with full callback-based integration (zero platform dependencies).
  • Sticker Picker — Tabbed grid panel with multiple packs, selection limits, and custom sticker builders.
  • Attachment Previews — Horizontal scrollable bar for media thumbnails, location chips, and sticker previews.
  • Async Validators — Parallel async validation with validateOnChange and debounce support.
  • ExtraFieldController — Programmatic control for text, attachments, location, stickers, panels, and validation state.
  • ExtraFieldValue — Immutable composed value with toMap() / fromMap() serialization.
  • ExtraFieldThemeData — Full theming with per-module theme overrides and InheritedWidget propagation.
  • ExtraFieldStrings — All user-facing strings configurable for localization (RTL supported).
  • Custom BuilderssuggestionBuilder, stickerBuilder, buttonBuilder, sendButtonBuilder, panelBuilder, mediaItemBuilder, locationBuilder.
  • ModelsMediaItem, LocationData, Sticker, StickerPack, TriggerMatch, TriggerConfig — all with toMap() / fromMap().
0
likes
150
points
40
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A rich composer input field for Flutter — inline trigger detection (#, @, $), action buttons, sticker panels, attachment previews, async validators, and a send button. Zero external dependencies.

Repository (GitHub)
View/report issues

Topics

#input #composer #chat #mentions #widget

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on extra_field