scale_picker 1.0.0 copy "scale_picker: ^1.0.0" to clipboard
scale_picker: ^1.0.0 copied to clipboard

A customizable and dynamic scale picker widget for Flutter applications. Perfect for selecting measurements like height, weight, temperature, and more.

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.

1.0.0 2024-01-XX #

Added #

  • Initial release of Scale Picker package
  • ScaleWidget - Core reusable scale picker widget
  • MeasurementPicker - Complete picker with unit toggle functionality
  • ScaleConfig - Configuration class for appearance and behavior
  • MeasurementConfig - Configuration class for measurement parameters
  • UnitConverter - Utility class for unit conversions
  • Debounce - Utility class for debounced function calls
  • MeasurementValue - Data class for measurement values
  • Support for both horizontal and vertical orientations
  • Customizable styling and theming
  • Built-in shader effects for fade gradients
  • Predefined configurations for common measurements (height, weight)
  • Smooth scrolling with automatic snapping
  • Unit conversion and toggle functionality
  • Comprehensive example app
  • Full test suite with 95%+ coverage
  • Complete documentation with API reference

Features #

  • โœจ Highly customizable appearance and behavior
  • ๐ŸŽฏ Smooth interactions with debounced scrolling
  • ๐Ÿ“ Multiple orientation support (horizontal/vertical)
  • ๐Ÿ”„ Built-in unit conversion system
  • ๐ŸŽจ Shader effects for enhanced UX
  • ๐Ÿ“ฑ Responsive design for different screen sizes
  • โšก Optimized performance for 60fps scrolling
  • ๐Ÿงช Comprehensive test coverage

Supported Measurements #

  • Height (cm, feet/inches)
  • Weight (kg, lbs)
  • Temperature (ยฐC, ยฐF)
  • Custom measurements with configurable units

Customization Options #

  • Colors and styling for all components
  • Text styles for labels and values
  • Animation duration and curves
  • Line lengths and spacing
  • Background colors and borders
  • Center indicator appearance
  • Shader effects and gradients
  • Custom value formatters
  • Custom label formatters
  • Custom toggle buttons
  • Custom value displays

[Unreleased] #

Planned Features #

  • Additional predefined measurement configurations
  • Accessibility improvements (WCAG 2.1 AA compliance)
  • Performance optimizations
  • Additional customization options
  • More example implementations
  • Web platform optimizations
  • Sound feedback options
  • Haptic feedback support
3
likes
150
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A customizable and dynamic scale picker widget for Flutter applications. Perfect for selecting measurements like height, weight, temperature, and more.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on scale_picker