sc_flutter_component_library 0.0.1
sc_flutter_component_library: ^0.0.1 copied to clipboard
A Flutter component library with rich text input widgets supporting multiple input types and automatic format validation.
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 - 2024-07-31 #
Added #
- Initial release of SC Flutter Component Library
- TextFieldWidget component with multiple input types support
- text: 普通文本输入
- weight: 重量输入(小数点后3位限制)
- price: 单价输入(小数点后4位限制)
- amount: 金额输入(小数点后2位限制)
- quantity: 数量输入(仅整数)
- QuickFilterTextFieldWithClearWidget component with clear button functionality
- Automatic input validation and formatting
- Customizable styles and dimensions
- Focus management and callback events
- Enable/disable state control
- Prefix and suffix icon support
- Comprehensive example application demonstrating all features
- Complete documentation and API reference
- Multi-language support (Chinese)
Features #
- 🎯 Multiple input type support
- ✅ Automatic input format validation and restriction
- 🎨 Customizable styles and dimensions
- 🔧 Prefix and suffix icon support
- 📱 Focus management and callback events
- 🔄 Enable/disable state control
- 🗑️ Smart clear button (shows when content exists)
- ⚡ One-click clear functionality
- 📚 Comprehensive example application
- 📖 Complete documentation
Documentation #
- Added comprehensive README.md with usage examples
- Added example project with detailed demonstrations
- Added API documentation with parameter tables
- Added development guidelines and contribution instructions