From 36cb37baa99e9cd06d056d5949a3b724e8576793 Mon Sep 17 00:00:00 2001 From: Taiwo Hassan <42950538+tjava@users.noreply.github.com> Date: Mon, 4 Jul 2022 16:34:54 +0100 Subject: [PATCH] remove default yellow underline (#864) --- lib/src/widgets/default_styles.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/widgets/default_styles.dart b/lib/src/widgets/default_styles.dart index 4434e03a..6f80fed0 100644 --- a/lib/src/widgets/default_styles.dart +++ b/lib/src/widgets/default_styles.dart @@ -191,6 +191,7 @@ class DefaultStyles { final baseStyle = defaultTextStyle.style.copyWith( fontSize: 16, height: 1.3, + decoration: TextDecoration.none, ); const baseSpacing = Tuple2(6, 0); String fontFamily; @@ -213,6 +214,7 @@ class DefaultStyles { color: defaultTextStyle.style.color!.withOpacity(0.70), height: 1.15, fontWeight: FontWeight.w300, + decoration: TextDecoration.none, ), const Tuple2(16, 0), const Tuple2(0, 0), @@ -223,6 +225,7 @@ class DefaultStyles { color: defaultTextStyle.style.color!.withOpacity(0.70), height: 1.15, fontWeight: FontWeight.normal, + decoration: TextDecoration.none, ), const Tuple2(8, 0), const Tuple2(0, 0), @@ -233,6 +236,7 @@ class DefaultStyles { color: defaultTextStyle.style.color!.withOpacity(0.70), height: 1.25, fontWeight: FontWeight.w500, + decoration: TextDecoration.none, ), const Tuple2(8, 0), const Tuple2(0, 0),