Commit 8d8862f8 authored by Budi Prasetyo's avatar Budi Prasetyo
parents 3fbe7e3e c728ce40
...@@ -119,6 +119,7 @@ class ContactUs2 extends StatelessWidget { ...@@ -119,6 +119,7 @@ class ContactUs2 extends StatelessWidget {
hintText: "Enter your Name", hintText: "Enter your Name",
fillColor: Colors.white, fillColor: Colors.white,
filled: true, filled: true,
errorStyle: TextStyle(color: Colors.white),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.zero, borderRadius: BorderRadius.zero,
borderSide: BorderSide(width: 1, color: Colors.white), borderSide: BorderSide(width: 1, color: Colors.white),
...@@ -130,7 +131,7 @@ class ContactUs2 extends StatelessWidget { ...@@ -130,7 +131,7 @@ class ContactUs2 extends StatelessWidget {
), ),
validator: (value) { validator: (value) {
if (value == null || value.isEmpty) { if (value == null || value.isEmpty) {
return 'Name cannot be empty!!!'; return 'Please enter your name';
} }
return null; return null;
}, },
...@@ -170,6 +171,7 @@ class ContactUs2 extends StatelessWidget { ...@@ -170,6 +171,7 @@ class ContactUs2 extends StatelessWidget {
hintText: "Enter a valid phone number", hintText: "Enter a valid phone number",
fillColor: Colors.white, fillColor: Colors.white,
filled: true, filled: true,
errorStyle: TextStyle(color: Colors.white),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.zero, borderRadius: BorderRadius.zero,
borderSide: borderSide:
...@@ -183,7 +185,7 @@ class ContactUs2 extends StatelessWidget { ...@@ -183,7 +185,7 @@ class ContactUs2 extends StatelessWidget {
), ),
validator: (value) { validator: (value) {
if (value == null || value.isEmpty) { if (value == null || value.isEmpty) {
return 'Phone cannot be empty!!!'; return 'Please enter your phone number';
} }
return null; return null;
}, },
...@@ -200,6 +202,7 @@ class ContactUs2 extends StatelessWidget { ...@@ -200,6 +202,7 @@ class ContactUs2 extends StatelessWidget {
hintText: "Enter a valid email address", hintText: "Enter a valid email address",
fillColor: Colors.white, fillColor: Colors.white,
filled: true, filled: true,
errorStyle: TextStyle(color: Colors.white),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.zero, borderRadius: BorderRadius.zero,
borderSide: borderSide:
...@@ -213,7 +216,7 @@ class ContactUs2 extends StatelessWidget { ...@@ -213,7 +216,7 @@ class ContactUs2 extends StatelessWidget {
), ),
validator: (value) { validator: (value) {
if (value == null || value.isEmpty) { if (value == null || value.isEmpty) {
return 'Email cannot be empty!!!'; return 'Please enter your email';
} }
return null; return null;
}, },
...@@ -243,6 +246,7 @@ class ContactUs2 extends StatelessWidget { ...@@ -243,6 +246,7 @@ class ContactUs2 extends StatelessWidget {
hintText: "Enter your message", hintText: "Enter your message",
fillColor: Colors.white, fillColor: Colors.white,
filled: true, filled: true,
errorStyle: TextStyle(color: Colors.white),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.zero, borderRadius: BorderRadius.zero,
borderSide: BorderSide(width: 1, color: Colors.white), borderSide: BorderSide(width: 1, color: Colors.white),
...@@ -255,7 +259,7 @@ class ContactUs2 extends StatelessWidget { ...@@ -255,7 +259,7 @@ class ContactUs2 extends StatelessWidget {
maxLines: 5, maxLines: 5,
validator: (value) { validator: (value) {
if (value == null || value.isEmpty) { if (value == null || value.isEmpty) {
return 'Message cannot be empty!!!'; return 'Please enter your message';
} }
return null; return null;
}, },
......
...@@ -38,7 +38,7 @@ class Footer extends StatelessWidget { ...@@ -38,7 +38,7 @@ class Footer extends StatelessWidget {
children: [ children: [
Container( Container(
width: screenSize.width * 0.12, width: screenSize.width * 0.12,
height: screenSize.height * 0.08, height: screenSize.height * 0.07,
decoration: const BoxDecoration( decoration: const BoxDecoration(
//color: Colors.lightBlueAccent, //color: Colors.lightBlueAccent,
image: DecorationImage( image: DecorationImage(
...@@ -212,7 +212,9 @@ class Footer extends StatelessWidget { ...@@ -212,7 +212,9 @@ class Footer extends StatelessWidget {
letterSpacing: 1.5), letterSpacing: 1.5),
), ),
), ),
SizedBox(height: 10,), SizedBox(
height: 10,
),
Container( Container(
height: screenSize.height * 0.04, height: screenSize.height * 0.04,
child: itemBawah( child: itemBawah(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment