distance_range_slider 0.0.1
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_sliderpackage. - Customizable distance slider widget with the following features:
- Configurable
initialValue,minValue,maxValue, andstepfor the slider range. - Support for multiple handler icon types:
Icon,Asset,Network, andSVG. - Customizable
unitText(e.g., 'km', 'm') for distance labels. - Adjustable
activeColorandinactiveColorfor styling the slider track and labels. onValueChangedcallback to track slider value updates.- Optional
labelStylefor custom text styling.
- Configurable
- Default assets (
lib/assets/default_icon.pngandlib/assets/default_slider.svg) for fallback handler icons. - Comprehensive widget tests in
test/distance_range_slider_test.dartto 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.