base_url_switcher 1.0.0
base_url_switcher: ^1.0.0 copied to clipboard
A Flutter package for switching between base URLs with a beautiful UI switcher
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.0 - 2025-01-15 #
Added #
- Initial release of Env Manager package
- Environment model with full configuration support
- EnvService singleton for environment management
- Beautiful EnvSwitcher UI widget
- Persistent storage using SharedPreferences
- Support for custom environments
- Configuration value management
- Comprehensive test coverage (21 tests)
- Complete documentation and examples
- Support for environment descriptions
- Default environment indicator
- Custom styling options for UI components
- Programmatic environment switching
- Environment validation and error handling
Features #
- ๐จ Beautiful UI Switcher with customizable styling
- ๐ง Easy configuration with default environments
- ๐พ Persistent storage that remembers environment choice
- ๐ฏ Full type safety with Dart
- ๐งช Comprehensive test coverage
- ๐ฑ Responsive design for all screen sizes
- ๐ Lightweight with minimal dependencies
- ๐ Hot reload support for environment changes
- ๐ก๏ธ Error handling and validation
- ๐ Complete documentation and examples
Technical Details #
- Built with Flutter 3.0+
- Uses SharedPreferences for persistence
- Singleton pattern for service management
- Material Design 3 components
- Full widget testing support
- Mock-friendly architecture for testing