Skip to main content

antd_picker 1.0.1 copy "antd_picker: ^1.0.1" to clipboard
antd_picker: ^1.0.1 copied to clipboard

Ant Design picker, cascader, date and time pickers for Flutter, with wheel columns and antd-mobile v5 interaction.

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 #

AntPicker #

  • Generic AntPicker<T> built on AntPickerColumn<T>: columns consume your own model type, with keyOf for identity and labelBuilder for rendering.
  • Bottom sheet presentation with title, confirm/cancel labels, independent column scrolling and mask-tap closing.
  • Controlled and uncontrolled modes: value / defaultValue accept either models or keys; visible / onClose allow programmatic opening and closing.
  • onSelect reports scrolling changes and onConfirm returns the selected model per column; itemHeight and pickerHeight tune wheel geometry.

AntCascader #

  • Generic cascader AntCascader<T> over a tree supplied by dataSource, childrenOf, keyOf, labelBuilder and disabledOf.
  • Overlay panel with level-by-level expansion, click or hover triggers, clear affordance and changeOnSelect for committing at intermediate levels.
  • Controlled and uncontrolled path values; paths may contain models or keys.
  • size variants (large, middle, small) and placeholder for the empty state.

AntCascaderView #

  • Embedded cascade view with a tab bar per level and no popup, for inline form and side-panel use.
  • onChange exposes both the selected model path and per-level slots (unselected levels are null); onTabsChange, activeIcon and height customize navigation and layout.

AntDatePicker and AntTimePicker #

  • Anchored picker panels that open below the field and close on selection.
  • Controlled/uncontrolled values, allowClear, disabled, size variants and labelBuilder.
  • Date panel supports month navigation and a configurable format for the field text.
  • Time panel supports hour, minute and second steps (hourStep, minuteStep, secondStep).
  • Wheel behaviour comes from the shared engine in antd_flutter_ui, keeping snapping and item metrics consistent with the rest of the picker family.
0
likes
160
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Ant Design picker, cascader, date and time pickers for Flutter, with wheel columns and antd-mobile v5 interaction.

Homepage
Repository (GitHub)
View/report issues

Topics

#ui #components #design-system #ant-design #picker

License

MIT (license)

Dependencies

antd_flutter_ui, antd_icons_flutter, antd_theme, cupertino_ui, flutter, material_ui

More

Packages that depend on antd_picker