TF-691 Set overflow default for text is too long on web

This commit is contained in:
dab246
2022-08-04 11:46:13 +07:00
committed by Dat H. Pham
parent 546627b9df
commit 837d058ecb
15 changed files with 56 additions and 8 deletions
@@ -63,6 +63,7 @@ class DropDownButtonWidget<T> extends StatelessWidget {
fontWeight: FontWeight.normal,
color: Colors.black.withOpacity(opacity)),
maxLines: 1,
softWrap: CommonTextStyle.defaultSoftWrap,
overflow: CommonTextStyle.defaultTextOverFlow,
)),
])
@@ -81,6 +82,7 @@ class DropDownButtonWidget<T> extends StatelessWidget {
fontWeight: FontWeight.normal,
color: Colors.black),
maxLines: 1,
softWrap: CommonTextStyle.defaultSoftWrap,
overflow: CommonTextStyle.defaultTextOverFlow,
)),
if (supportSelectionIcon && item == itemSelected)
@@ -115,6 +117,7 @@ class DropDownButtonWidget<T> extends StatelessWidget {
fontWeight: FontWeight.normal,
color: Colors.black.withOpacity(opacity)),
maxLines: 1,
softWrap: CommonTextStyle.defaultSoftWrap,
overflow: CommonTextStyle.defaultTextOverFlow,
)),
iconArrowDown ?? SvgPicture.asset(_imagePaths.icDropDown)