From 2f2b45f84433a33d5e60de9b3d52216f3888970a Mon Sep 17 00:00:00 2001 From: David Adegoke <64401859+Blazebrain@users.noreply.github.com> Date: Mon, 26 May 2025 23:14:42 +0100 Subject: [PATCH] Adjust Animation Cursor baseline (#2294) * Fix some colors * fix(theme-updates): Modify condition for theme border style display when hasUnderlineBorder is true * fix(themes-updates): Adjust switch colors and modify payjoin hint text * fix: Crash report relating to success image display on successful exchange * fix(theme-updates): Adjust animated text max width to prevent overflows * fix(theme-updates): Adjust fee picker styling * fix(themes-updates): Remove text overflow on welcome screen animation * fix(themes-update): Fix the cursor to the baseline for the text --------- Co-authored-by: tuxsudo --- lib/src/screens/welcome/create_pin_welcome_page.dart | 2 +- lib/src/widgets/animated_typing_text.dart | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/screens/welcome/create_pin_welcome_page.dart b/lib/src/screens/welcome/create_pin_welcome_page.dart index a2b738251..49082a1e6 100644 --- a/lib/src/screens/welcome/create_pin_welcome_page.dart +++ b/lib/src/screens/welcome/create_pin_welcome_page.dart @@ -173,7 +173,7 @@ class CreatePinWelcomePage extends BasePage { color: Theme.of(context).colorScheme.primary, ), cursorColor: Theme.of(context).colorScheme.primary, - cursorHeight: 24, + cursorHeight: 28, cursorWidth: 4, ), SizedBox(width: 4), diff --git a/lib/src/widgets/animated_typing_text.dart b/lib/src/widgets/animated_typing_text.dart index cc8f0f0e9..aba821c04 100644 --- a/lib/src/widgets/animated_typing_text.dart +++ b/lib/src/widgets/animated_typing_text.dart @@ -140,6 +140,7 @@ class _AnimatedTypingTextState extends State with TickerProv // Fixed cursor position Positioned( right: 0, + bottom: 0, child: AnimatedBuilder( animation: _cursorAnimation, builder: (context, child) {