PackageTrack
Sign in Get early access

flutter_polyline_points

A flutter package to get polyline points by either passing the coordinates or google encoded polyline string

3.1.0 60K downloads/mo #1371 most downloaded on pub.dev Dammyololade/flutter_polyline_points

What this package is like to depend on

Last release 11 months ago

20 Sep 2025

Release timing varies

gaps range from 4 weeks to 2.3 years

Nearly every release is documented

notes for 14 of 14 stable releases

1 version withdrawn

withdrawn after publishing

7 years old

15 releases · first in 2019

1 release in the last 12 months

see the full history below

Release timeline

15 releases · Apr 2019 to Sep 2025
2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 15
  1. 3.1.0 20 Sep 2025
    Release notes
    • ENHANCED: Added validation for bicycling and walking travel modes to ensure they use RoutingPreference.unspecified as required by Google Routes API.
      • Special thanks to @enricava for the contribution.
    • Fixed: Decoding issue on web.
    • Fixed: Decoding intermediate locations issue.
    Open source →
  2. 3.0.1 23 Jul 2025
    Release notes
    • NEW: Add support for custom headers in Routes API requests.
    Open source →
  3. 3.0.0 22 Jul 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v2.1.0...v3.0.0

    Open source →
    Release notes

    🚀 Major Refactor - Simplified and Unified API

    Unified PolylinePoints Class

    • BREAKING: Simplified API with single PolylinePoints class for both APIs
    • BREAKING: Constructor now requires apiKey parameter
    • NEW: Factory constructors: PolylinePoints.legacy(), PolylinePoints.enhanced(), PolylinePoints.custom()
    • ENHANCED: Unified interface supporting both Directions API and Routes API

    Enhanced Routes API Integration

    • NEW: RoutesApiRequest model with comprehensive parameter support
    • NEW: RoutesApiResponse model with improved type safety
    • NEW: Custom body parameters support for advanced use cases
    • NEW: Field mask support for response optimization
    • NEW: Two-wheeler routing mode support

    Improved Request/Response Models

    • NEW: RouteModifiers for enhanced route customization
    • NEW: Timing preferences with departure/arrival time support
    • NEW: Convenience getters: durationMinutes, staticDurationMinutes, distanceKm
    • ENHANCED: Better type safety and null handling
    • ENHANCED: Polyline decoding integration with automatic point conversion

    Developer Experience

    • NEW: Comprehensive test coverage for reliability
    • NEW: convertToLegacyResult() method for API compatibility
    • NEW: Enhanced error handling and validation
    • IMPROVED: Code documentation and examples
    • IMPROVED: Better parameter validation and error messages

    🔧 Technical Improvements

    • ENHANCED: Network utilities with better error handling
    • ENHANCED: Polyline decoder with robust error handling
    • NEW: Static decodePolyline method for utility usage
    • IMPROVED: JSON serialization and deserialization
    • IMPROVED: Memory efficiency and performance

    🛠️ Breaking Changes

    • BREAKING: PolylinePoints constructor now requires apiKey parameter
    • BREAKING: Removed googleApiKey parameter from method calls
    • BREAKING: Simplified class structure (removed separate V2 classes)
    • MIGRATION: Update constructor calls and remove googleApiKey from method parameters

    📚 Migration Support

    • MAINTAINED: Full backward compatibility for legacy Directions API
    • NEW: Clear migration path from v2.x to v3.0
    • NEW: Updated documentation with migration examples
    • NEW: Factory constructors for different use cases

    Open source →
  4. 2.1.0 02 Jul 2024
    Release notes

    Breaking change,
    getRouteBetweenCoordinates now requires a PolylineRequest object

    Open source →
    Release notes
    • Breaking change, getRouteBetweenCoordinates now requires a PolylineRequest object
    • Updated http package
    • Bug fixes and general improvements Special thanks to these contributors:
    • @tetrix
    • @fadimanakilci
    • @anixsam
    Open source →
  5. 2.0.1 25 Jun 2024 withdrawn
    Release notes

    What's Changed

    New Contributors

    Full Changelog: https://github.com/Dammyololade/flutter_polyline_points/commits/2.0.1

    Open source →
  6. 2.0.0 22 Aug 2023
    Release notes

    Updated dependencies and added some new functionalities such as:

    • Fetching alternative routes
    • Optimised algorithm for web Special thanks to this contibutors for landing such huge PRs:
    • @nnadir35
    • @shkvoretz
    Open source →
  7. 1.0.0 16 Apr 2021
    Release notes

    Released a null safety version

    Open source →
  8. 0.2.6 15 Mar 2021
    Release notes

    updated http package

    Open source →
  9. 0.2.4 29 Sep 2020
    Release notes

    Fixed issues with waypoint

    Open source →
  10. 0.2.3 24 Aug 2020
    Release notes

    Fixed a bug with adding waypoint to request thanks to EnzoSeason

    Open source →
  11. 0.2.2 10 Jun 2020
    Release notes

    FIxed issues with incorrect key being passed as travelmode Changed waypoint documentation

    Open source →
  12. 0.2.1 12 May 2020
    Release notes

    Breaking change, the response object has been refined to a more suitable object that contains the status of the api and the error message.

    Open source →
  13. 0.2.0 12 May 2020
    Release notes

    Add travel mode, thanks to @tuxbook Fixed unhandled error exception.

    Open source →
  14. 0.1.0 25 Apr 2019
    Release notes

    update readme.

    Open source →
  15. 0.0.1 25 Apr 2019
    Release notes

    initial release.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive