sc_flutter_component_library 0.0.3 copy "sc_flutter_component_library: ^0.0.3" to clipboard
sc_flutter_component_library: ^0.0.3 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.3 - 2024-08-01 #

Added #

  • FilterSearchWidget component with comprehensive search functionality
    • Generic type support for any data type
    • Configurable search behavior (delay, minimum length, custom filters)
    • Custom result display with flexible item builders
    • Selection state management
    • Debounced search to prevent excessive operations
    • Clean implementation with no external dependencies
  • FilterSearchConfig class for customizing search behavior and appearance
  • FilterSearchItem generic data class for search results with selection state
  • Complete documentation for FilterSearchWidget in doc/filter_search_widget.md
  • Updated README.md with FilterSearchWidget usage examples and features
  • Updated main library export to include FilterSearchWidget

Changed #

  • Moved documentation from docs/ to doc/ directory to follow Pub layout conventions
  • Updated example functionality list to include search demonstrations

Technical Details #

  • Supports Flutter SDK 3.8.1+
  • Implements generic types for type safety
  • Includes search delay and minimum length configuration
  • Provides custom filter and item builder options
  • Maintains compatibility with existing library components

0.0.2 - 2024-07-31 #

Added #

  • Platform support configuration for all Flutter platforms
    • Android support
    • iOS support
    • Linux support
    • macOS support
    • Windows support
    • Web support

Changed #

  • Updated pubspec.yaml to explicitly declare platform compatibility
  • Improved package metadata for better discoverability

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
3
likes
0
points
112
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter component library with rich text input widgets supporting multiple input types and automatic format validation.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on sc_flutter_component_library