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

A highly customizable and feature-rich tooltip widget for Flutter applications with smooth animations, smart positioning, and multiple trigger modes.

Changelog #

All notable changes to the RATooltip package will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2025-01-02 #

Added #

  • ✨ Initial release of RATooltip package
  • 🎯 Two trigger modes: tap and hold (500ms duration)
  • πŸ“ Smart positioning system with automatic edge detection
  • 🎨 Four positioning options: top, bottom, left, right
  • ✨ Smooth animations with 150ms duration and easeOutCubic curves
  • 🎭 Custom arrow indicators that point to target widgets
  • πŸ”„ Automatic repositioning when tooltips would appear off-screen
  • πŸ“± Cross-platform support for Android, iOS, macOS, Linux, Windows, and Web
  • πŸŽͺ Highly customizable styling:
    • Custom colors and background
    • Custom text styles and alignment
    • Custom padding and margins
    • Custom box shadows
  • πŸš€ Performance optimizations:
    • Efficient rendering with RepaintBoundary
    • Smart state management
    • Proper memory management
  • πŸ“¦ Modular architecture:
    • Separated models for triggers and positions
    • Internal components for arrows
    • Clean widget structure
  • πŸ§ͺ Comprehensive testing suite:
    • Unit tests for core functionality
    • Integration tests for UI interactions
    • Automated testing for all platforms
  • πŸ“š Complete documentation:
    • Comprehensive README with examples
    • API documentation
    • Example application
  • 🎨 Example application demonstrating all features:
    • All trigger modes
    • Different positions
    • Custom styling examples
    • Performance demonstrations

Features #

  • RATooltip widget - Main tooltip component
  • RATooltipTrigger enum - Trigger mode definitions (tap, hold)
  • RATooltipPosition enum - Position definitions (top, bottom, left, right)
  • Smart edge detection - Prevents tooltips from appearing off-screen
  • Custom content support - Both text messages and custom widgets
  • Gesture handling - Optimized touch and mouse interactions
  • Animation system - Smooth scale and position transitions
  • Arrow system - Dynamic arrow positioning and styling

Technical Details #

  • Minimum Flutter version: Flutter 3.0.0
  • Minimum Dart version: Dart 2.17.0
  • Dependencies: Only Flutter SDK (no external dependencies)
  • Platform support: All Flutter-supported platforms
  • Performance: Optimized for 60fps on all platforms

Documentation #

  • Complete API reference
  • Usage examples for all features
  • Performance guidelines
  • Contributing guidelines
  • MIT License

Upcoming Features (Roadmap) #

1.1.0 Planned #

  • 🎯 Additional trigger modes: hover, double-tap
  • 🎨 Theme integration: Support for Flutter themes
  • πŸ“± Accessibility improvements: Screen reader support
  • πŸ”§ Builder pattern: More flexible content building
  • πŸŽͺ Animation customization: Custom animation curves and durations

1.2.0 Planned #

  • 🌐 RTL support: Right-to-left language support
  • πŸ“ Size constraints: Min/max width and height options
  • 🎭 Multiple tooltips: Support for tooltip chains
  • πŸ”„ Auto-dismiss: Time-based auto-hiding
  • πŸ“ Offset positioning: Fine-tune tooltip positioning

Future Considerations #

  • 🎨 Tooltip templates: Pre-built tooltip styles
  • πŸ“± Responsive design: Adaptive sizing for different screen sizes
  • πŸŽͺ Advanced animations: More animation options
  • πŸ”§ Plugin architecture: Support for custom extensions

Migration Guides #

From 0.x.x to 1.0.0 #

This is the initial release, so no migration is needed.


Support #

For questions, issues, or feature requests:


Note: This changelog follows the Keep a Changelog format for better readability and standardization.

1
likes
140
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A highly customizable and feature-rich tooltip widget for Flutter applications with smooth animations, smart positioning, and multiple trigger modes.

Repository (GitHub)
View/report issues

Topics

#tooltip #widget #ui #animation #customizable

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on ra_tooltip