setting to show/hide quick tab titles

This commit is contained in:
Fabian Freund
2026-02-14 19:40:49 +01:00
parent a52801d63e
commit fbddf3e0f7
7 changed files with 80 additions and 6 deletions
@@ -71,6 +71,7 @@ class SelectableChips<T extends S, S, K> extends StatelessWidget {
final int? Function(T item)? itemBadgeCount;
final Color? Function(T item)? itemBackgroundColor;
final Color? selectedBorderColor;
final EdgeInsetsGeometry? Function(T item)? labelPadding;
final Widget Function(Widget child, S item)? itemWrap;
@@ -97,6 +98,7 @@ class SelectableChips<T extends S, S, K> extends StatelessWidget {
this.onLongPress,
this.sortSelectedFirst = true,
this.scrollController,
this.labelPadding,
super.key,
});
@@ -150,6 +152,7 @@ class SelectableChips<T extends S, S, K> extends StatelessWidget {
child: FilterChip(
selected: selectedBorderColor == null && isSelected,
showCheckmark: false,
labelPadding: labelPadding?.call(item),
onSelected: (value) {
if (value) {
onSelected?.call(item);