gradient_slider 1.2.0 copy "gradient_slider: ^1.2.0" to clipboard
gradient_slider: ^1.2.0 copied to clipboard

A slider widget, supports image thumb, track gradient and border

1.2.0 #

  • RangeSlider is now supported — pass one as slider: and the gradient fills the span between the two thumbs. Previously it rendered as a plain range slider with no gradient and no error
  • Added rangeThumbShape, the RangeSlider counterpart of thumbShape
  • thumbAsset now applies to range sliders too. showThumb remains single-slider only — a range slider always keeps its thumbs
  • Exported GradientRangeSliderTrackShape and ImageRangeThumbShape
  • Added the missing return type on an internal method, which cost 10 pub points under pub.dev's static analysis
  • Upgraded the lints dev dependency to 6.x so pub.dev's stricter lints are caught locally

1.1.0 #

  • thumbAsset is now optional — omit it to use the default Material thumb
  • Added showThumb to hide the thumb and its overlay entirely
  • Added thumbShape and overlayShape for fully custom shapes
  • A missing or undecodable thumb asset now falls back to the default thumb instead of throwing
  • Settings from an inherited SliderTheme are now preserved instead of being discarded, so tick marks, the value indicator and the overlay can be themed from above the widget
  • Fixed: a disabled slider kept painting its track gradient at full strength

1.0.3 #

  • Improved image thumb rendering quality

1.0.2 #

  • minor fix
  • changes README.md

1.0.1 #

  • analytics issue fix

1.0.0 #

  • Custom thumb image
  • Active track Gradient
  • Inactive track Gradient
  • Track border
  • Track border color
26
likes
0
points
580
downloads

Publisher

unverified uploader

Weekly Downloads

A slider widget, supports image thumb, track gradient and border

Repository (GitHub)
View/report issues

Topics

#slider #gradient #image-thumb

License

unknown (license)

Dependencies

flutter

More

Packages that depend on gradient_slider