From 7b08336b99b3bc22efa7b5293ac6c809c1127a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Wr=C3=B3bel?= Date: Fri, 23 Dec 2022 01:22:59 +0100 Subject: [PATCH] update --- lib/auto_scroll_text.dart | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/auto_scroll_text.dart b/lib/auto_scroll_text.dart index e4408f8..67fd89a 100644 --- a/lib/auto_scroll_text.dart +++ b/lib/auto_scroll_text.dart @@ -304,10 +304,13 @@ class _AutoScrollTextState extends State { style: widget.style, textAlign: widget.textAlign, ) - : Text( - _endlessText ?? _text, - style: widget.style, - textAlign: widget.textAlign, + : Padding( + padding: widget.padding, + child: Text( + _endlessText ?? _text, + style: widget.style, + textAlign: widget.textAlign, + ), ), ), ),