save_points_snackbar_dialog_bottomsheet 1.0.4
save_points_snackbar_dialog_bottomsheet: ^1.0.4 copied to clipboard
A package providing modern, customizable UI components including dialogs, snackbars, and bottom sheets with glassmorphism effects, animations, and extensive customization options.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.4 - 2026-01-28 #
Changed #
- Code Quality & Architecture: Comprehensive refactoring for professional code standards
- Extracted magic numbers into named constants (
_AnimationConstants,_SpacingConstants) - Improved code organization with better method separation and structure
- Enhanced theme building with dedicated methods (
_buildLightTheme,_buildDarkTheme) - Refactored animation initialization into separate methods for better maintainability
- Improved navigation handling with dedicated method (
_handleNavigationSelection) - Better section building with consolidated
_buildAllSections()method
- Extracted magic numbers into named constants (
Improved #
- Documentation: Added comprehensive documentation throughout the codebase
- Added library documentation headers to all main files
- Enhanced class and method documentation with detailed descriptions
- Added parameter documentation for public properties
- Improved code comments for better maintainability
- Code Organization: Better structure and separation of concerns
- Refactored margin calculation in
SavePointsSnackbarinto dedicated helper methods - Extracted keyboard dismissal logic into reusable helper methods
- Improved import organization (alphabetical, grouped)
- Better consistency across all example widgets
- Refactored margin calculation in
- Maintainability: Improved code maintainability and readability
- Extracted helper methods for common operations
- Better naming conventions and code structure
- Improved error handling and code organization
- Enhanced example widget documentation
Technical Details #
- main.dart: Refactored example app with constants extraction and better organization
- savepoints_snackbar.dart: Improved margin calculation with dedicated helper methods
- savepoints_dialog.dart: Extracted keyboard dismissal into reusable helper
- savepoints_bottomsheet.dart: Extracted keyboard dismissal into reusable helper
- Example Widgets: Enhanced documentation and consistency across all widgets
1.0.3+1 - 2025-01-24 #
Added #
- Improved snackbar position handling in
SavePointsSnackbarandSnackbarConfigfor better flexibility
Changed #
- ModernBottomsheet: Use
MediaQuery.sizeOffor height calculations; updated border radius property for consistency - ModernBottomsheet: Moved property declarations to constructor for clearer structure
- AnimatedWrapper: Moved property declarations to constructor for clarity
- BottomsheetLoadingIndicator: Refactored constructor by removing redundant declaration
1.0.2+1 - 2025-12-18 #
Added #
- Enhanced example app with beautiful animations and effects
- Animated gradient background with smooth transitions
- Staggered section animations for improved visual appeal
- Interactive button animations with scale, hover, and ripple effects
- Bottom navigation bar with snackbar feedback
- New "More Examples" section showcasing advanced use cases:
- Dialog chains and sequential flows
- Snackbar queuing examples
- Combined dialog → snackbar flows
- Bottom sheet → dialog interactions
- Success and error flow demonstrations
- Story flow with multiple steps
- Quick actions bottom sheet
- Additional dialog examples using DialogPresets:
- Delete confirmation dialogs
- Logout confirmation dialogs
- Update available dialogs
- Feature not available dialogs
- Discard changes confirmations
- Additional snackbar examples:
- Long duration snackbars
- Custom color schemes
- Scale, fade, and rotate-scale animations
- Persistent snackbars with tap to dismiss
- Rainbow gradient snackbars
Changed #
- Updated example app UI with modern design patterns
- Improved code organization and structure
- Enhanced user experience with smooth animations throughout
Fixed #
- Fixed deprecated
withOpacitymethod usage (replaced withwithValues) - Fixed deprecated
Matrix4.scalemethod (replaced withscaleByDouble) - Fixed async context usage issues (added proper
context.mountedchecks) - Fixed linter warnings for
prefer_final_in_for_each - Improved code quality and static analysis compliance
- Removed circular reveal examples from example app (feature still available in API)
Improved #
- Better error handling in async operations
- Enhanced code maintainability
- Improved example app performance with optimized animations
1.0.1+1 - 2024-12-03 #
1.0.0+1 - 2024-12-01 #
Added #
- Initial release of SavePoints Modern UI
- Modern dialog component with glassmorphism effects
- Enhanced snackbar component with multiple animations
- Customizable bottom sheet component
- Support for dark mode
- Extensive customization options for all components
- Multiple animation types (fade, slide, scale, bounce, rotate, elastic, slideRotate)
- Progress indicators for snackbars
- Loading states for dialogs and bottom sheets
- Custom start/end animations for dialogs and bottom sheets
- Circular reveal animation (
hideLikeCircle) for all components - Gradient backgrounds support
- Haptic feedback support
- Centralized configuration system
- Performance optimizations with RepaintBoundary
Features #
- Dialogs: Glassmorphism design, customizable icons, flexible actions, smooth animations
- Snackbars: Multiple types (success, error, warning, info), rich animations, progress indicators, position control
- Bottom Sheets: Modern design, drag handle, scrollable content, custom animations