chipWhite method
Implementation
DefineMTextModifier chipWhite() {
final borderWidth = 1.px;
final DefineMTextModifier newModifierValue = this.copyWith(
valueStyle: (this.valueStyle).copyWith(
color: Colors.white,
fontSize: 12.px,
),
valueBorder: Border.all(color: Colors.white, width: borderWidth),
valueBorderRadius: BorderRadius.all(Radius.circular(17.px)),
valuePadding: EdgeInsets.symmetric(
horizontal: 10.px - borderWidth, vertical: 5.px - borderWidth),
valueBackgroundColor: Colors.white.withOpacity(0.2),
valueMargin: EdgeInsets.only(right: 10.px, bottom: 10.px),
);
return newModifierValue;
}