newsletter - Fixed Text Color

This commit is contained in:
Matthew Patrick 2022-05-16 16:02:10 +07:00
parent 9a9cc27029
commit 2a12ce6992

View file

@ -21,7 +21,7 @@ class Newsletter extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
Text( const Text(
'Newsletter', 'Newsletter',
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
@ -29,7 +29,7 @@ class Newsletter extends StatelessWidget {
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), ),
Text( const Text(
'Subscribe to Our Newsletter and get 20% off your first purchase', 'Subscribe to Our Newsletter and get 20% off your first purchase',
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
@ -39,6 +39,7 @@ class Newsletter extends StatelessWidget {
Padding( Padding(
padding: const EdgeInsets.only(top: 25.0), padding: const EdgeInsets.only(top: 25.0),
child: TextFormField( child: TextFormField(
style: const TextStyle(color: Colors.white),
decoration: InputDecoration( decoration: InputDecoration(
filled: true, filled: true,
fillColor: const Color(0xff212226), fillColor: const Color(0xff212226),