custom-dropdown icon indicating copy to clipboard operation
custom-dropdown copied to clipboard

canCloseOutsideBounds overlap with listItemBuilder

Open Punlork opened this issue 1 year ago • 0 comments

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,
            ),
          ),
        ],
      ),

Punlork avatar Sep 04 '24 08:09 Punlork