fl_select 0.12.0
fl_select: ^0.12.0 copied to clipboard
A Flutter package for building selection UIs (e.g. filter bars) on a composable architecture of entry points, delegates and layouts, A2UI-ready, with search, theming, and i18n.
0.12.0 #
-
FEATURE the flat-data delegates now accept an
itemBuilderto customize item rendering. -
BUGFIX selecting "Any" no longer surfaces as a real selection; the trigger label falls back to its original text.
-
BUGFIX unselecting the last item in multiple mode now falls back to the "Any" placeholder on flat-data delegates.
-
BUGFIX a category whose only selection is "Any" no longer steals the initial tab focus in
TabNavSelect. -
BUGFIX the remaining scrollable bodies now chain touch-drag scrolling to the enclosing page-level scrollable.
-
DEPRECATION rename
SelectController.badgedCategoriestorealSelectedCategories(Migration guide). -
DEPRECATION split the dual-form
SelectChipBarinto the single-rowSelectChipBarand the wrap-formSelectWrapView(Migration guide).
0.11.3 #
-
BUGFIX unify the action bar visibility on
SelectController.hasMultipleModeacross all layouts. -
BUGFIX
showSelectno longer ignores the ambient dialog theme'sinsetPadding. -
FEATURE
ExpandableSelectnow badges a category tile whose category holds a real selection. -
FEATURE
TabNavSelectnow badges a category tab whose category holds a real selection.
0.11.2 #
-
FEATURE localize all built-in widget labels via
SelectLocalizations. -
BUGFIX an empty applied selection now restores the trigger's original
labeleven when alabelLoaderis set.
0.11.1 #
-
BUGFIX fix list tiles ignoring the effective selection mode: the resolved
selectionModeandExpandableSelectDelegate'sradioBuilder/checkboxBuilderare now forwarded to the body, so categories inherit the delegate's mode instead of always rendering radios. -
BUGFIX
ExpandableSelectnow chains touch-drag scrolling to the enclosing page likeSideNavSelect, via a shared internal clamping-physics implementation. -
BUGFIX
SideNavSelectnow chains touch-drag scrolling to the enclosing page's scrollable instead of stopping dead at its edges, via aClampingScrollPhysicssubclass with no changes required on hosting pages. -
BUGFIX
SideNavSelectnow scrolls the tapped category's full section (including its top padding) to the top of the right column, and long-content jumps animate instead of teleporting.
0.11.0 #
-
DEPRECATION the dual-mode delegates (
FlattenSelectDelegate,GridSelectDelegate,ListSelectDelegatewith two-level data) are deprecated in favor of the single-purpose ones above and will be removed in a future minor version (Migration guide). -
DEPRECATION rename
SelectChipLayouttoSelectWrapLayout; the old name is kept as a deprecated alias and will be removed in a future minor version (Migration guide). -
FEATURE add
TabNavSelectDelegate— a two-level select with category tabs on top driving the content below, split out ofGridSelectDelegate's two-level mode. Category layouts default to the delegate'sdefaultLayout(a 3-column grid) instead of being derived from grid parameters. -
FEATURE add
SideNavSelectDelegate— the renamed two-level "flatten" select: a category sidebar on the left scrolls the single right column to the matching section, with scroll-linked highlighting. -
FEATURE add
WrapSelectDelegate— a flat select whose parentless entries render directly as a wrapable chip bar, split out ofFlattenSelectDelegate's flat mode. -
FEATURE add
ExpandableSelectDelegate— a two-level select with one expandable group per category, split out ofListSelectDelegate's two-level mode. -
FEATURE
PopupSelectBar,SelectTabBarandSelectSideBarnow scroll the tapped or focused tab to the center whenisScrollableis true.
0.10.0 #
-
FEATURE add
SelectEntryCodec— declarative JSON import/export for entry trees (fromJson/toJson), powering the new GenUI bridge packagefl_select_genui. -
BREAKING remove the deprecated
FlattenSelectDelegategrid parameters and the matchingFlattenSelectwidget parameters (no effect since 0.7.2); set aSelectGridLayoutonSelectCategoryEntry.layoutinstead (Migration guide). -
BREAKING remove the deprecated
SelectControllerpreviousSelected/resetSelectedaliases (deprecated since 0.8.0); passselectedEntries/resetEntriesinstead (Migration guide).
0.9.0 #
-
BREAKING remove the deprecated
onSelector*lifecycle aliases andPopupSelectControllerhideSelector/toggleSelector/isSelectorShowingmembers; use theonSelect*names andhideSelect/toggleSelect/isSelectShowinginstead (Migration guide). -
BREAKING change the default
variantofPopupSelectButtonfromfilledtotext; usePopupSelectButton.filledfor the previous default look (Migration guide). -
BREAKING make
SelectCategoryEntryselection modes nullable and inheriting —selectionMode/headerSelectionMode/footerSelectionModenow default to null and inherit the delegate-level mode instead of defaulting toSelectionMode.single(Migration guide). -
FEATURE add
PopupSelectButtonVariant.textand thePopupSelectButton.fillednamed constructor. -
FEATURE add synchronous data support to
SelectDelegateviaentries/selectedEntries/resetEntriesas alternatives to the loader callbacks. -
BUGFIX export
PopupSelectDirectionfrom the public API. -
BUGFIX make
SelectPanelshrink-wrap its height to the content again in dialogs and bottom sheets.
0.8.0 #
-
FEATURE add
toQueryMap()andtoQueryParameters()extensions onSelectEntriesto serialize a selection tree into URL query parameters (Migration guide). -
BUGFIX fix cascading selection state handling around search and cross-category clearing in
CascadingSelect(Migration guide). -
BUGFIX fix cross-category clearing in two-level category trees (Migration guide).
-
FEATURE add search filtering to the select panel (Migration guide).
-
DEPRECATION rename the
previousSelected/resetSelectedAPI surface toselectedEntries/resetEntriesto align naming across the library (Migration guide).
0.7.2 #
-
BUGFIX fix custom range input handling across
SelectListView,SelectGridViewandSelectRangeView— normalization, min-value loss, premature swapping and cross-category contamination. -
BUGFIX fix
SelectController.select/unselectnot affecting root-level entries in a flat structure. -
BUGFIX route malformed entry structures to the error UI instead of hanging the frame during the build phase.
-
DEPRECATION deprecate the
FlattenSelectDelegate/FlattenSelectgrid parameters in favor ofSelectGridLayoutonSelectCategoryEntry.layout(Migration guide). -
FEATURE
FlattenSelectnow falls back to a wrapableSelectChipBarwhenSelectCategoryEntry.layoutis null. -
FEATURE add the
childrenfactory constructors onSelectCategoryEntry,SelectChildEntryandSelectTextEntry, which inject their ownidas every child'sparentId.
0.7.1 #
- FEATURE
showSelectnow accepts optionalleading,trailingandcenterTitlewidgets for its header row, mirroringshowModalBottomSelect.
0.7.0 #
-
BREAKING make
PopupSelectBar.selectDelegatesandPopupSelectBar.onAppliedrequired. -
BREAKING make
PopupSelectButton.selectDelegateandPopupSelectButton.onAppliedrequired. -
BREAKING make
SelectDelegate.entriesLoaderandSelectView.onChangedrequired (Migration guide). -
BREAKING remove all deprecated aliases, parameters, getters and methods introduced in 0.5.0 by the
Select*/PopupSelect*renaming; use theSelect*/PopupSelect*names instead (Migration guide). -
DEPRECATION rename the
onSelector*lifecycle callbacks onPopupSelectBarandPopupSelectButtontoonSelect*, with the old names kept as deprecated aliases (Migration guide). -
DEPRECATION rename the
PopupSelectController*Selector*lifecycle members to*Select*, with the old names kept as deprecated aliases (Migration guide). -
FEATURE
FlattenSelectnow renders each category according to itsSelectCategoryEntry.layout, matchingListSelect/GridSelect.