chat_poll_kit 2.0.0
chat_poll_kit: ^2.0.0 copied to clipboard
A complete poll system for chat applications with state management, real-time sync, backend abstraction, and deep theming.
2.0.0 #
- BREAKING: Upgrade
firebase_corefrom^3.12.1to^4.11.0 - BREAKING: Upgrade
cloud_firestorefrom^5.6.7to^6.6.0 - Upgrade
fake_cloud_firestore(dev) from^3.1.0to^4.1.1 - Upgrade
mocktail(dev) from^1.0.4to^1.0.5 - Upgrade
dioconstraint to^5.9.2anduuidto^4.5.3 - Raise minimum Flutter SDK from
>=3.10.0to>=3.22.0 - No source-code changes required; all existing tests continue to pass
1.0.2 #
- Redesign example app as a realistic chat interface (WhatsApp-like)
- Polls now shown embedded inside chat bubbles with avatars, timestamps, and read receipts
- Updated screenshots to show chat-style usage (Light & Dark themes)
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