Skip to content

Commit 81f9162

Browse files
committed
remove tooltip and \n
1 parent 16b24b5 commit 81f9162

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/devtools_app/lib/src/shared/console/widgets/display_provider.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ class _DisplayProviderState extends State<DisplayProvider> {
7171
onTap: widget.onTap,
7272
menuButtons: _getMenuButtons(context),
7373
child: OverflowingText(
74-
tooltipMessage: widget.variable.text,
7574
textSpan: TextSpan(
7675
children: textSpansFromAnsi(
7776
widget.variable.text!,
@@ -270,7 +269,6 @@ class DapDisplayProvider extends StatelessWidget {
270269
// interactivity wrapper to provide inspect and re-root functionality. Add
271270
// tooltip on hover to provide type information.
272271
return OverflowingText(
273-
tooltipMessage: value,
274272
textSpan: TextSpan(
275273
text: name,
276274
style: theme.fixedFontStyle.apply(
@@ -281,7 +279,7 @@ class DapDisplayProvider extends StatelessWidget {
281279
// TODO(https://github.com/flutter/devtools/issues/6056): Change text
282280
// style based on variable type.
283281
TextSpan(
284-
text: value.replaceAll('\n', '\\n'),
282+
text: value,
285283
style: theme.subtleFixedFontStyle,
286284
),
287285
],

0 commit comments

Comments
 (0)