base_url_switcher 1.0.0 copy "base_url_switcher: ^1.0.0" to clipboard
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
7
likes
160
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for switching between base URLs with a beautiful UI switcher

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on base_url_switcher