ra_tooltip 1.0.1
ra_tooltip: ^1.0.1 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.1 - 2025-01-02 #
Changed #
- Documentation improvements: Removed emojis from README.md and CHANGELOG.md for professional appearance
- Better readability: Cleaner formatting and conventional documentation language
- Professional presentation: More suitable for corporate and enterprise environments
- Improved accessibility: Better compatibility with screen readers and assistive technologies
Fixed #
- README formatting: Consistent section headers without decorative elements
- CHANGELOG structure: Standard changelog format following industry best practices
1.0.0 - 2025-01-02 #
Added #
- Initial release of RATooltip package
- Two trigger modes:
tap
andhold
with 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:
- GitHub Issues: https://github.com/RamaMS06/ra_tooltip/issues
- Documentation: README.md
- Examples: See
example/
directory
Note: This changelog follows the Keep a Changelog format for better readability and standardization.