smart_rate_us 1.1.7 copy "smart_rate_us: ^1.1.7" to clipboard
smart_rate_us: ^1.1.7 copied to clipboard

A Flutter package for smart app rating prompts with customizable UI and analytics-driven triggers.

1.0.0 #

Features #

  • Smart Rating System: Analytics-driven rating prompts based on user engagement
  • Animated Star Views: Beautiful sequential star animations with fade-in, zoom, and rotation effects
  • Customizable UI Components:
    • DefaultStarsView with customizable star builders
    • DefaultButtonView with multiple styles (normal, secondary, transparent, border)
    • DefaultDialogBuilder for rating dialogs
    • DefaultSuccessDialogView for feedback confirmation
  • Flexible Architecture:
    • FeedbackWrapper for easy app integration
    • FeedbackRepoProvider for state management
    • WriteFeedbackScreen for collecting user feedback
    • DoYouLoveUsDialog for rating prompts
  • Event-Based Triggers: Configurable counters for when to show rating prompts
  • Platform Integration: Native in-app review support via in_app_review package
  • State Management: Built on flutter_bloc for reliable state handling
  • Persistent Storage: User preferences and counters stored via shared_preferences
  • Version Awareness: Smart handling of app version changes
  • Delay Support: Configurable delays between rating prompt attempts

Dependencies #

  • flutter_bloc: ^9.1.1 - State management
  • shared_preferences: ^2.5.3 - Local storage
  • in_app_review: ^2.0.10 - Native review dialogs
  • package_info_plus: ^8.3.1 - App version detection
  • freezed: ^3.2.0 - Immutable data classes
  • json_serializable: ^6.10.0 - JSON serialization

Getting Started #

See README.md for detailed implementation guide and examples.

1.0.1 #

Updated Readme.md

1.1.0 #

๐Ÿš€ Breaking Changes #

  • Router Support: Added navigation callbacks for custom router compatibility
    • Added onPopCallback parameter to FeedbackWrapperConfig
    • Added onWriteFeedbackCallback parameter to FeedbackWrapperConfig
    • Both callbacks are now required in custom configurations
    • FeedbackWrapperConfig.defaultConfig() provides backward-compatible defaults

โœจ New Features #

  • Custom Router Compatibility: Full support for go_router, AutoRoute, and other custom routers
  • Navigation Flexibility: No more hard dependency on Navigator.of(context)
  • Improved Documentation: Added router examples in README and code documentation

๐Ÿ› ๏ธ Improvements #

  • Code Quality: Fixed deprecated Matrix4.translate() warnings
  • Formatting: Applied consistent Dart formatting across all files
  • iOS Compatibility: Updated minimum iOS version to 13.0
  • Dependencies: Changed flutter_bloc to flexible version constraint

๐Ÿ“š Documentation #

  • Added router support examples in README
  • Improved API documentation with usage examples
  • Added migration examples for different router types

๐Ÿงช Testing #

  • All existing tests continue to pass
  • Added proper callback handling in test scenarios

1.1.1 #

Updated changelog Updated umbrella smart_rate_us.dart file

1.1.2 #

Updated colors: default widgets now use primary color instead of secondary

1.1.3 #

Added colors and InputDecoration customizations

1.1.4 #

Fixed colors for success dialog

1.1.5 #

Fixed unused imports

1.1.6 #

Updated README.md

1.1.7 #

New Features #

  • Smart keyboard handling: Better platform-specific keyboard behavior for feedback text field
    • Mobile/Web: Enter key sends feedback (as before)
    • Desktop (macOS/Windows/Linux): Enter creates new line, Cmd+Enter (or Ctrl+Enter) sends feedback
  • User email support: Added optional user email parameter to feedback flow
    • Added getUserEmail callback to FeedbackWrapper
    • Email automatically passed through feedback screens

Improvements #

  • Updated test signatures to match new API
  • Better platform detection for keyboard shortcuts
3
likes
150
points
223
downloads

Publisher

verified publisherdglfactor.tech

Weekly Downloads

A Flutter package for smart app rating prompts with customizable UI and analytics-driven triggers.

Repository (GitHub)
View/report issues

Topics

#flutter #rating #feedback #in-app-review #animations

Documentation

API reference

License

MIT (license)

Dependencies

clean_cubit_reactor, flutter, flutter_bloc, in_app_review, package_info_plus, shared_preferences

More

Packages that depend on smart_rate_us