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

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

1.0.1 #

  • Add screenshots to README (Light, Dark, Green, Purple themes)
  • Update example app with 4 themed demo pages

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
140
points
29
downloads

Documentation

API reference

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

MIT (license)

Dependencies

cloud_firestore, dio, firebase_core, flutter, uuid

More

Packages that depend on chat_poll_kit