From 2a12ce69921009c7bcd9189d6d9ed49566ef4584 Mon Sep 17 00:00:00 2001 From: Matthew Patrick Date: Mon, 16 May 2022 16:02:10 +0700 Subject: [PATCH] newsletter - Fixed Text Color --- lib/components/newsletter.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/components/newsletter.dart b/lib/components/newsletter.dart index 90a14fa..cdfde4d 100644 --- a/lib/components/newsletter.dart +++ b/lib/components/newsletter.dart @@ -21,7 +21,7 @@ class Newsletter extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ - Text( + const Text( 'Newsletter', style: TextStyle( color: Colors.white, @@ -29,7 +29,7 @@ class Newsletter extends StatelessWidget { fontWeight: FontWeight.bold, ), ), - Text( + const Text( 'Subscribe to Our Newsletter and get 20% off your first purchase', style: TextStyle( color: Colors.white, @@ -39,6 +39,7 @@ class Newsletter extends StatelessWidget { Padding( padding: const EdgeInsets.only(top: 25.0), child: TextFormField( + style: const TextStyle(color: Colors.white), decoration: InputDecoration( filled: true, fillColor: const Color(0xff212226),