antd_transfer 1.0.1
antd_transfer: ^1.0.1 copied to clipboard
Ant Design Transfer for Flutter - dual-list and tree transfer with search, selection and custom item builders.
Changelog #
1.0.1 #
- Fix pub.dev static analysis results by aligning internal dependency constraints.
- Ship the package example and tighten pubspec metadata for better pub.dev scoring.
- Documentation and changelog polish.
1.0.0 #
Initial stable release of the standalone antd_transfer package.
Features #
AntTransfer<T>renders a generic two-pane transfer control that consumes your model directly throughkeyOf,titleBuilder,descriptionOf,childrenOf,disabledOf, andsearchTextOf.- Tree mode is inferred automatically when
childrenOfreturns children, with parent/child check cascading, indeterminate half states, disabled-subtree propagation, subtree moves, tree search that keeps ancestor chains, anddefaultExpandAll. - Checkbox selection, select-all over enabled rows, and move/return operations work in both directions with
onChangeandonSelectChangecallbacks. targetKeys,selectedKeys,defaultTargetKeys, anddefaultSelectedKeyssupport controlled and uncontrolled state.- Search supports
searchTextOfand a customfilterOptionpredicate. titles,operations,height,disabled,oneWay, andshowSearchcontrol the panel layout and available operations.- Empty data renders an explicit empty state.
- Added the
AntTransferDirectionenum and theAntTransfer*Ofcallback typedefs.
Deprecated #
AntTransferItemis deprecated in favor of a user-defined model combined withdataSource,keyOf, andchildrenOf.