- Feature:
- support dropdown button style
- add maskVisible property for DropDownMenu, which can control the visibility of the mask
- add relativeOffset property for DropDownMenu, which can control the relative position of the drop-down body to the drop-down header
- (breaking) change property: viewOffsetY (double) -> viewOffset (Offset)
- add example for above features
- Feature:
- add custom painter for DropDownButton
- add maskFullScreen property for DropDownMenu
- dispose DropDownController by user
- add example for above features
- Feature:
- add example for customize dropdown view
- Fixed: support to reset data by using dataController in multiple choose mode.
- Fixed: index out of range in drop_down_cascade_list
- Fixed: change the method of dataController
- Feature:
- DropDownCascadeList: add dataController to control the data of the list.
- Feature:0.5.
- DropDownCascadeList: remove default padding.
- DropDownListView/DropDownGridView: add
physics
andshrinkWrap
property.
- Feature:
- Add listener: onExpandStateChanged and onItemChanged.
- Switch Tab with animation.
- Feature:
- Add more parameters to customize the drop-down menu.
- (breaking) Replace
DropDownViewBuilder
withDropDownViewWrapper
. - (breaking) Add highlight properties to
DropDownItemStyle
to control the highlight style of the drop-down menu header item. - (breaking) Change the return value of
OnDropDownHeaderUpdate
to support highlight style.
- Bug fixed:
- DropDownListView、DropDownGridView、DropDownCascadeList did not update view after data was changed.
- Feature:
- Add
OnDropDownHeaderUpdate
callback to update the text of the drop-down menu header. - (breaking) Wrapper the style of dropdown menu: DropDownBoxStyle、DropDownItemStyle、DropDownButtonStyle.
- (breaking) Replace DropDownMenu item with
WrapperButton
.
- Add
- Remove preview image
- Refactor code
- Update README
- Refactor code
- Update README
- Support using
Stack
orOverlay
to implement drop-down menu. - Customize the drop-down menu bar header.
- Customize the main content of the drop-down menu.
- Control the display and hiding of drop-down menu.
- Support use in
CustomScrollView
andNestedScrollView
. - Basic drop-down menu implementation:
ListView
,GridView
,CascadeList
(cascading list). - Support single and multiple selection operations.