chat_poll_kit 1.0.0 copy "chat_poll_kit: ^1.0.0" to clipboard
chat_poll_kit: ^1.0.0 copied to clipboard

A complete poll system for chat applications with state management, real-time sync, backend abstraction, and deep theming.

1.0.0 #

  • Initial release
  • Immutable models: PollModel, PollOption, VoteModel with copyWith and JSON serialization
  • Abstract PollDataSource interface with Firebase and REST/Dio adapters
  • PollController with ChangeNotifier, optimistic updates, and error handling
  • PollValidator for expiry, choice, and duplicate vote checks
  • ExpiryTimer with Stream
  • Full widget set: ChatPollWidget, PollHeader, PollFooter, PollProgressBar, PollOptionTile
  • State widgets: PollLoading, PollError, PollExpired
  • Deep theming via PollTheme (ThemeExtension) with light/dark defaults
  • Animated progress bars using TweenAnimationBuilder
  • RTL support with directional-aware layout
  • Multi-choice and vote-change support
2
likes
0
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

A complete poll system for chat applications with state management, real-time sync, backend abstraction, and deep theming.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cloud_firestore, dio, firebase_core, flutter, uuid

More

Packages that depend on chat_poll_kit