We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When defining the style of the selectedText the fontSize is not respected and a default font size is used...
Example usage:
MultiSelectChipField<String?>( items: ['item1', 'item2', 'item3'], initialValue: [], showHeader: false, textStyle: TextStyle( fontSize: 10, fontWeight: FontWeight.w400, color: AppColor.dark, ), selectedChipColor: Colors.blue, selectedTextStyle: TextStyle( fontSize: 10, // This value is not respected fontWeight: FontWeight.w400, color: AppColor.dark ),
This issue can be traced to multi_select_chip_field.dart ...
label: Container( width: widget.chipWidth, child: Text( item.label, overflow: TextOverflow.ellipsis, style: _selectedValues.contains(item.value) ? TextStyle( color: widget.colorator != null && widget.colorator!(item.value) != null ? widget.colorator!(item.value)!.withOpacity(1) : widget.selectedTextStyle != null ? widget.selectedTextStyle!.color : null) // Need to add fontSize here : TextStyle( color: widget.textStyle != null ? widget.textStyle!.color ?? widget.chipColor : widget.chipColor, fontSize: widget.textStyle != null ? widget.textStyle!.fontSize : null, ), ),
To resolve this the below snippet can be added:
fontSize: widget.selectedTextStyle != null ? widget.selectedTextStyle!.fontSize : null)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When defining the style of the selectedText the fontSize is not respected and a default font size is used...
Example usage:
This issue can be traced to multi_select_chip_field.dart ...
To resolve this the below snippet can be added:
The text was updated successfully, but these errors were encountered: