dual_slider 0.0.1+1 copy "dual_slider: ^0.0.1+1" to clipboard
dual_slider: ^0.0.1+1 copied to clipboard

A highly customizable Flutter slider widget with dual-direction support, perfect for bidirectional controls like volume, balance, or brightness.

Changelog #

All notable changes to this project will be documented in this file.

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

0.0.1+1 - 2025-11-13 #

Fixed #

  • Shortened package description to meet pub.dev recommendations (60-180 characters)
  • Applied Dart formatter to all files for consistency

0.0.1 - 2025-11-11 #

๐ŸŽ‰ Initial Release #

First public release of dual_slider package!

โœจ Features #

Core Functionality

  • Dual-direction slider widget with customizable range (-maxValue to +maxValue)
  • Flexible value range with configurable maxValue (minimum 1.0)
  • Initial value support for setting starting position
  • Smooth animations using Flutter's native Slider widget

Customization

  • Track colors:

    • Single color support for solid tracks
    • Multi-color gradient support (2+ colors)
    • Custom gradient support for advanced designs
    • Default blue-green gradient
  • Thumb customization:

    • Customizable thumb color
    • Icon support (any Material Icon)
    • Border color customization
    • Auto-sized thumb based on track height
    • Manual thumb size with smart limits (80% - 240% of track height)
  • Track styling:

    • Adjustable track height
    • Custom border radius support
    • Per-corner radius customization (BorderRadius.only)
    • Fully rounded, slightly rounded, or sharp corners
    • Full-width track (no padding)

Advanced Features

  • Divisions for discrete value snapping
  • Tick marks with show/hide option
  • Dual-color tick marks:
    • activeTickMarkColor for left/negative side
    • inactiveTickMarkColor for right/positive side
    • Auto-sized tick marks by Flutter

Callbacks

  • onChanged - Called during value changes
  • onChangeStart - Called when dragging starts
  • onChangeEnd - Called when dragging ends

๐Ÿ“ฑ Platform Support #

  • โœ… Android
  • โœ… iOS
  • โœ… Web
  • โœ… macOS
  • โœ… Windows
  • โœ… Linux

๐Ÿ“ฆ Package Info #

  • Minimum Dart SDK: ^3.9.2
  • Minimum Flutter: >=1.17.0
  • Pure Dart implementation (no native code)
  • Zero external dependencies (only flutter SDK)

๐Ÿ“š Documentation #

  • Comprehensive README with examples
  • 5 usage examples in demo app
  • Full API documentation
  • Design tips and use cases
  • Screenshots and visual guide

๐Ÿงช Testing #

  • Widget tests included
  • Basic rendering tests
  • Custom color tests
  • Tick marks tests

Upcoming Features #

See TODO.md for planned features in future releases:

  • Center indicator for zero point
  • Haptic feedback on divisions
  • Value labels/tooltips
  • Enhanced accessibility support
1
likes
160
points
2
downloads
screenshot

Publisher

verified publishercetinmustafa.com

Weekly Downloads

A highly customizable Flutter slider widget with dual-direction support, perfect for bidirectional controls like volume, balance, or brightness.

Repository (GitHub)
View/report issues
Contributing

Topics

#slider #widget #ui #dual #bidirectional

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on dual_slider