moon_extension 0.0.1 copy "moon_extension: ^0.0.1" to clipboard
moon_extension: ^0.0.1 copied to clipboard

A comprehensive Flutter package providing useful extensions for strings, dates, and context utilities with Turkish phone number support.

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.

0.0.1 - 2024-12-25 #

Added #

  • Initial release of Moon Extension package
  • StringExtension with comprehensive string utilities:
    • Email, phone, URL, and numeric validation
    • HTML tag removal functionality
    • Turkish phone number formatting support
    • Null safety with default value handling
    • Null/empty string checks
  • DateTimeExtension with date and time utilities:
    • Multiple date format options (date only, with time, year only)
    • UTC formatting without milliseconds
    • Leap year detection for integers
  • ContextExtension with Flutter context utilities:
    • Screen size utilities with scaling support
    • Predefined padding values for consistent spacing
    • Device type detection (mobile, tablet, desktop)
    • Responsive design helpers
  • PhoneExtension for Turkish phone number formatting:
    • International format conversion
    • Simple format conversion
    • Support for various input formats
  • Comprehensive test coverage for all extensions
  • Modular test structure for better maintainability
  • Example application demonstrating all features
  • Complete documentation with usage examples

Technical Details #

  • Built with Flutter SDK ^3.7.2
  • Compatible with Flutter >=1.17.0
  • Uses intl package for date formatting
  • MIT License for open source usage
2
likes
150
points
8
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter package providing useful extensions for strings, dates, and context utilities with Turkish phone number support.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on moon_extension