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

A customizable distance range slider widget for Flutter applications

Changelog #

All notable changes to the distance_range_slider package will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.0 - 2025-03-20 #

Added #

  • Initial release of the distance_range_slider package.
  • Customizable distance slider widget with the following features:
    • Configurable initialValue, minValue, maxValue, and step for the slider range.
    • Support for multiple handler icon types: Icon, Asset, Network, and SVG.
    • Customizable unitText (e.g., 'km', 'm') for distance labels.
    • Adjustable activeColor and inactiveColor for styling the slider track and labels.
    • onValueChanged callback to track slider value updates.
    • Optional labelStyle for custom text styling.
  • Default assets (lib/assets/default_icon.png and lib/assets/default_slider.svg) for fallback handler icons.
  • Comprehensive widget tests in test/distance_range_slider_test.dart to verify functionality.
  • Example usage in example/main.dart.
  • MIT License added for permissive use.

Notes #

  • This is the first stable release, designed for flexibility and ease of integration.
  • Future updates may include multi-value range support and additional customization options.
1
likes
145
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable distance range slider widget for Flutter applications

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_svg, flutter_test, flutter_xlider

More

Packages that depend on distance_range_slider