custom-dropdown
custom-dropdown copied to clipboard
canCloseOutsideBounds overlap with listItemBuilder
With canCloseOutsideBounds: false. This issue is fixed but I still need CloseOutsideBounds effect.
@AbdullahChauhan
https://github.com/user-attachments/assets/226aeb1b-e7c2-4862-957f-d80c66684b58
listItemBuilder: (context, item, isSelected, onItemSelect) => Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Checkbox(
value: isSelected,
onChanged: (_) => onItemSelect(),
),
const Gap(4),
Expanded(
child: Text(
item.title,
style: context.bodyLarge(
color: isSelected ? Theme.of(context).colorScheme.primary : null,
weight: isSelected ? FontWeight.w600 : null,
),
// maxLines: 2,
overflow: TextOverflow.ellipsis,
),
),
],
),