pill_widget 1.1.0 copy "pill_widget: ^1.1.0" to clipboard
pill_widget: ^1.1.0 copied to clipboard

A customizable pill/chip widget for Flutter with inline editing support. Display labels with optional editable values in a sleek pill-shaped container.

1.1.0 #

  • Feature: Added selected property to display pills in a selected/chosen state with tinted background and thicker border.
  • Feature: Added showCheckIcon property to optionally display a check icon when selected.
  • Feature: Added selectedBackgroundColor, selectedBorderColor, and selectedBorderWidth to PillStyle for customizing the selected appearance.
  • Updated example app with interactive selectable pills demo.

1.0.1 #

  • Fix: Updated README to embed YouTube videos for demos.
  • Removed local video files to reduce repository size.

1.0.0 #

  • Breaking: Standardized height to 40.0 (24.0 content + padding) for all pill states to prevent layout jumps.
  • Feature: Added expandable property to allow pills to expand on tap for long text.
  • Feature: Added summary property to show a shorter initial value when collapsed.
  • Improvement: Editable pills now dynamically resize width to fit content during typing.
  • Improvement: All pill states now hug their content width tightly.
  • Documentation: Updated README with new screenshots and usage examples.

0.1.0 #

  • Breaking: Added PillStyle class for comprehensive style customization
  • Added style parameter to Pill widget for custom styling
  • Added PillStyles class with 8 predefined color presets:
    • info - Blue theme for informational content
    • success - Green theme for positive states
    • warning - Orange theme for warnings
    • error - Red theme for errors
    • special - Purple theme for highlighted content
    • neutral - Cyan theme for secondary content
    • muted - Grey theme for disabled content
    • date - Pink theme for temporal content
  • Added editable parameter to control inline editing behavior
  • Added onTap callback for tap handling on pills
  • Added text overflow handling with ellipsis for long values
  • Improved documentation with extensive code examples
  • Updated example app to showcase all new features

0.0.3 #

  • Added API documentation for Pill widget and its properties
  • Improved pub points score by addressing missing documentation

0.0.2 #

  • Added screenshots to README documentation
  • Code style improvements (removed unnecessary library directive)

0.0.1 #

  • Initial release
  • Pill widget with label-only and label+value modes
  • Inline editing support with tap-to-edit functionality
  • Clean pill-shaped design with black border
1
likes
0
points
282
downloads

Publisher

verified publishergoruv.com

Weekly Downloads

A customizable pill/chip widget for Flutter with inline editing support. Display labels with optional editable values in a sleek pill-shaped container.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on pill_widget