local_function_collections 0.0.12 copy "local_function_collections: ^0.0.12" to clipboard
local_function_collections: ^0.0.12 copied to clipboard

Local function that simplify navigation, dialog and secure storage for Flutter

0.0.12 - 2026-07-09 #

  • Feature (Network/Security): Added setupCertificatePinning method to LocalAPIsRequest class, enabling robust SSL/TLS certificate pinning via SHA-256 fingerprints to mitigate Man-In-The-Middle (MITM) attacks.
  • Refactor (Network/Security): Enforced strict handshake validation by setting withTrustedRoots: false to bypass the OS trust store, ensuring absolute fingerprint matching.
  • Performance (Network): Optimized memory allocation within setupCertificatePinning by isolating and pre-compiling string normalization patterns (cleanAllowedPins) outside the HTTP client stream loop.
  • Fix (Network/Web): Added kIsWeb guards inside setupCertificatePinning to prevent compilation overhead and runtime failures related to dart:io on browser platforms.
  • Fix (Network/HTTP): Streamlined RequestType.get processing by removing the data body parameter from the underlying Dio instance, ensuring strict compliance with standard HTTP GET specifications across different backend servers.

0.0.11- 2026-07-08 #

  • Feature (Network/Interceptors): Added addInterceptors method to LocalAPIsRequest class, allowing developers to inject custom interceptors (e.g., Auth, Logging, Performance) globally.
  • Refactor (Network/Timeout): Centralized default connection and receive timeouts inside BaseOptions (default 30 seconds) instead of request-specific Options.

0.0.10 - 2026-07-07 #

  • Feature (Network/Security): Added withCredentials parameter to LocalAPIsRequest.submitRequest for web security, enabling cross-site requests to securely include cookies and session headers.

0.0.9 - 2026-07-06 #

  • Refactor (Network): Removed onStart and onFinsih parameter from LocalAPIsRequest.submitRequest. this service are now separated from UI state in order to maintain clean architecture.

0.0.8 - 2026-06-24 #

  • Refactor (Network): Removed usingloadingDialog parameter from LocalAPIsRequest.submitRequest and replaced it with flexible onStart and onFinish callbacks. This decouples the UI layer from network data complexity for a cleaner architecture.
  • Fix (Network/UI): Handled DioExceptionType.cancel and optimized onFinish execution order to prevent unexpected page dismissal or frozen loading states during network errors.

0.0.7 - 2026-05-25 #

  • Refactor: Optimized code imports and structure, leading to faster project compilation times.

0.0.6 - 2026-04-09 #

  • Feature: Re-exported Dio components globally. You can now access Dio utilities without needing to import the package manually in your main project.

0.0.5 - 2026-01-22 #

  • Feature: Added files parameter support in LocalAPIsRequest.submitRequest for handling file uploads.

0.0.4 - 2025-11-14 #

  • Feature: Added usePreserveHeaderCase option in LocalAPIsRequest.submitRequest.

0.0.3 - 2025-11-03 #

  • Refactor: Migrated LocalRouteNavigator to use Widget instead of StatefulWidget for broader compatibility.
  • Feature: Re-exported CancelToken from Dio so it can be used directly without additional imports.

0.0.2 - 2025-09-18 #

  • Feature: Introduced LocalAPIsRequest helper class to manage network requests (GET, POST, PUT, DELETE).

0.0.1 - 2024-11-20 #

  • 🎉 Initial release of Local Function Collections.

📢 Community & Support #

Every critique and advice is welcome! Feel free to reach me on:

Thanks for all the support! 🚀

1
likes
160
points
136
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Local function that simplify navigation, dialog and secure storage for Flutter

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

crypto, dio, flutter, flutter_secure_storage

More

Packages that depend on local_function_collections