scale_picker 1.0.0
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 widgetMeasurementPicker- Complete picker with unit toggle functionalityScaleConfig- Configuration class for appearance and behaviorMeasurementConfig- Configuration class for measurement parametersUnitConverter- Utility class for unit conversionsDebounce- Utility class for debounced function callsMeasurementValue- 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