flutter: msgbox selectable
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
75590af0d7
commit
244c07e50e
1 changed files with 2 additions and 1 deletions
|
|
@ -656,7 +656,8 @@ void msgBox(
|
|||
}
|
||||
dialogManager.show((setState, close) => CustomAlertDialog(
|
||||
title: _msgBoxTitle(title),
|
||||
content: Text(translate(text), style: const TextStyle(fontSize: 15)),
|
||||
content: SelectableText(translate(text),
|
||||
style: const TextStyle(fontSize: 15)),
|
||||
actions: buttons,
|
||||
onSubmit: hasOk ? submit : null,
|
||||
onCancel: hasCancel == true ? cancel : null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue