remove default yellow underline (#864)

pull/867/head
Taiwo Hassan 3 years ago committed by GitHub
parent 38b1885878
commit 36cb37baa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lib/src/widgets/default_styles.dart

@ -191,6 +191,7 @@ class DefaultStyles {
final baseStyle = defaultTextStyle.style.copyWith( final baseStyle = defaultTextStyle.style.copyWith(
fontSize: 16, fontSize: 16,
height: 1.3, height: 1.3,
decoration: TextDecoration.none,
); );
const baseSpacing = Tuple2<double, double>(6, 0); const baseSpacing = Tuple2<double, double>(6, 0);
String fontFamily; String fontFamily;
@ -213,6 +214,7 @@ class DefaultStyles {
color: defaultTextStyle.style.color!.withOpacity(0.70), color: defaultTextStyle.style.color!.withOpacity(0.70),
height: 1.15, height: 1.15,
fontWeight: FontWeight.w300, fontWeight: FontWeight.w300,
decoration: TextDecoration.none,
), ),
const Tuple2(16, 0), const Tuple2(16, 0),
const Tuple2(0, 0), const Tuple2(0, 0),
@ -223,6 +225,7 @@ class DefaultStyles {
color: defaultTextStyle.style.color!.withOpacity(0.70), color: defaultTextStyle.style.color!.withOpacity(0.70),
height: 1.15, height: 1.15,
fontWeight: FontWeight.normal, fontWeight: FontWeight.normal,
decoration: TextDecoration.none,
), ),
const Tuple2(8, 0), const Tuple2(8, 0),
const Tuple2(0, 0), const Tuple2(0, 0),
@ -233,6 +236,7 @@ class DefaultStyles {
color: defaultTextStyle.style.color!.withOpacity(0.70), color: defaultTextStyle.style.color!.withOpacity(0.70),
height: 1.25, height: 1.25,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
decoration: TextDecoration.none,
), ),
const Tuple2(8, 0), const Tuple2(8, 0),
const Tuple2(0, 0), const Tuple2(0, 0),

Loading…
Cancel
Save