From 96369e24f9fa553e5902c6ab4e643726c4d99149 Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Tue, 2 May 2023 13:32:20 +0200 Subject: [PATCH] feat(ui_components): make textwrapper toString useful --- .../lib/src/core/utils/text_wrapper.dart | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/wyatt_ui_components/lib/src/core/utils/text_wrapper.dart b/packages/wyatt_ui_components/lib/src/core/utils/text_wrapper.dart index 1a1eac95..35318908 100644 --- a/packages/wyatt_ui_components/lib/src/core/utils/text_wrapper.dart +++ b/packages/wyatt_ui_components/lib/src/core/utils/text_wrapper.dart @@ -123,9 +123,5 @@ class TextWrapper { final Color? selectionColor; @override - String toString() => 'TextWrapper(data: $data, style: $style, ' - 'gradientColors: $gradientColors, textAlign: $textAlign, ' - 'textDirection: $textDirection, softWrap: $softWrap, ' - 'overflow: $overflow, maxLines: $maxLines, ' - 'selectionColor: $selectionColor)'; + String toString() => data; }