TF-3407 Enable SelectableText for email display name in EmailAddressDialogBuilder
This commit is contained in:
@@ -99,16 +99,15 @@ class EmailAddressBottomSheetBuilder {
|
|||||||
left: 16,
|
left: 16,
|
||||||
right: 16,
|
right: 16,
|
||||||
top: 16),
|
top: 16),
|
||||||
child: Text(
|
child: SelectableText(
|
||||||
_emailAddress.displayName,
|
_emailAddress.displayName,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
overflow: CommonTextStyle.defaultTextOverFlow,
|
|
||||||
softWrap: CommonTextStyle.defaultSoftWrap,
|
|
||||||
maxLines: 2,
|
maxLines: 2,
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 20,
|
overflow: CommonTextStyle.defaultTextOverFlow,
|
||||||
fontWeight: FontWeight.w600,
|
fontSize: 20,
|
||||||
color: AppColor.colorNameEmail),
|
fontWeight: FontWeight.w600,
|
||||||
|
color: AppColor.colorNameEmail),
|
||||||
)),
|
)),
|
||||||
Material(
|
Material(
|
||||||
color: Colors.transparent,
|
color: Colors.transparent,
|
||||||
|
|||||||
@@ -75,16 +75,15 @@ class EmailAddressDialogBuilder extends StatelessWidget {
|
|||||||
left: 16,
|
left: 16,
|
||||||
right: 16,
|
right: 16,
|
||||||
top: 16),
|
top: 16),
|
||||||
child: Center(child: Text(
|
child: Center(child: SelectableText(
|
||||||
_emailAddress.displayName,
|
_emailAddress.displayName,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
maxLines: 2,
|
maxLines: 2,
|
||||||
overflow: CommonTextStyle.defaultTextOverFlow,
|
|
||||||
softWrap: CommonTextStyle.defaultSoftWrap,
|
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 20,
|
overflow: CommonTextStyle.defaultTextOverFlow,
|
||||||
fontWeight: FontWeight.w600,
|
fontSize: 20,
|
||||||
color: AppColor.colorNameEmail),
|
fontWeight: FontWeight.w600,
|
||||||
|
color: AppColor.colorNameEmail),
|
||||||
))
|
))
|
||||||
),
|
),
|
||||||
Material(
|
Material(
|
||||||
|
|||||||
Reference in New Issue
Block a user