popup_dropdown 1.0.0
popup_dropdown: ^1.0.0 copied to clipboard
A highly customizable popup dropdown widget for Flutter with form validation, animated icon rotation, error states, and zero external dependencies.
1.0.0 - 2025-02-15 #
Added #
- Initial release of
popup_dropdown PopupDropdown<T>– generic popup dropdown with 35+ customization parameters- Animated suffix icon rotation (180°) when menu opens/closes
- Form validation support via
validator+autovalidateMode - Error state: styled border colour + error text below field
- Disabled state with configurable opacity
- Required field indicator (red asterisk)
- Focused border colour when menu is open
itemLeadingBuilder– add any widget before item labelitemTrailingBuilder– replace check icon with custom widget per itemcustomChild– fully replace the default trigger widgetshowDividers/dividerColor– control item separatorsmenuColor,menuElevation,maxMenuHeight– menu appearancerotateSuffixIcon– opt out of icon animationdisabledOpacity– control look of disabled fieldonTap– secondary tap handler (e.g. show a snackbar when disabled)- Full Material 3 theme integration
- Zero external dependencies
- 20+ widget tests covering rendering, interaction, validation, customisation
- 7 example scenarios in the example app