FLUTTER ECOSYSTEM

qs_dart

A query string encoding and decoding library for Dart. Ported from qs for JavaScript.

Latest version
1.9.0
30-day downloads
131K
Likes
15
Pub points
0

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

qs_dart is a Dart library for encoding and decoding query strings, inspired by the popular JavaScript qs library. It provides robust parsing and stringification of URL query parameters, supporting nested objects, arrays, and custom separators. Ideal for handling HTTP request and response data in web and mobile applications, it ensures consistent query string formatting across platforms. The package is lightweight, well-tested, and compatible with all major Flutter platforms.

Use cases
  • Parsing URL query parameters
  • Building dynamic API URLs
  • Handling form data in HTTP requests
  • Serializing nested objects to query strings
  • Interoperability with REST APIs
Key features
  • Supports nested object encoding
  • Handles array syntax in queries
  • Customizable delimiter and depth options
  • Robust error handling
  • Cross-platform compatibility
Suitable for
  • Web and mobile app developers
  • API integrations
  • Form data processing
  • Backend-compatible query string handling
Considerations
  • May require careful configuration for complex nested structures
  • Not designed for full URL manipulation
  • Limited to query string operations only
  • Depends on external JS library behavior for edge cases
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add qs_dart

Categories

Dependencies

Dependency list 3 items

Source repository

Related projects

No data available yet.