dt_flutter_smart_rating 0.0.4
dt_flutter_smart_rating: ^0.0.4 copied to clipboard
A smart rating dialog package for Flutter that shows rating prompts based on network success and user experience quality.
0.0.4 #
- Breaking Change: Removed
diodependency andSmartRatingDioInterceptor. Applications should now manually report network activity or implement their own interceptor (seelib/src/network/README.mdfor examples). - Configuration: Updated SDK constraints and project metadata.
0.0.3 #
✨ New Features #
- Custom Feedback Handling: Added
onSubmitFeedbackcallback toshowRatingDialog(), allowing developers to process user feedback (e.g., sending to a backend or analytics service).
0.0.2 #
✨ New Features #
- Failure Tracking System: Track network failures with
failureCount,hasFailuresgetters - Smart Manual Triggering: New parameters for
showRatingDialog():onlyIfNoFailures: Only show dialog if no failures occurredrequireMinimumSuccess: Only show if minimum success count reachedmaximumAllowedFailures: Set a tolerance level for failures
- Session Management: New
resetCounters()method to reset all counters - Public Getters: Access
successCount,failureCount, andhasFailures
🔧 Improvements #
- Enhanced
reportNetworkFailure()to track failure count - Better debug logging with failure counts
- Improved documentation with use cases and examples
⚠️ Breaking Changes #
- NONE - All new features are backward compatible with default parameter values
0.0.1 #
- Initial release
- Smart rating dialog based on network success
- Automatic and manual triggering modes
- Configurable theming and localization
- Dio interceptor for automatic network monitoring