Commit 987da09a authored by Izol's avatar Izol

added color in phone validation wording

parent bd72a8bb
...@@ -1187,15 +1187,39 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -1187,15 +1187,39 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
), ),
), ),
SizedBox( SizedBox(
height: 100, height: 95,
), ),
Text( Text.rich(
"Masukkan 4 angka terakhir nomor handphone anda !", TextSpan(
children: [
TextSpan(
text: "Masukkan 4 angka terakhir",
style: blackTextStyle.copyWith( style: blackTextStyle.copyWith(
fontSize: 40, fontSize: 40,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
textAlign: TextAlign.center, ),
TextSpan(
text: " nomor handphone ",
style: blackTextStyle.copyWith(
fontSize: 40,
fontWeight: FontWeight.bold,
color: Colors.blue,
),
),
TextSpan(
text: "anda !",
style: blackTextStyle.copyWith(
fontSize: 40,
fontWeight: FontWeight.bold,
),
),
],
),
),
SizedBox(
height: 10,
), ),
Text( Text(
"Enter the last 4 digits of your phone number !", "Enter the last 4 digits of your phone number !",
...@@ -1207,7 +1231,7 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -1207,7 +1231,7 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
SizedBox( SizedBox(
height: 28, height: 25,
), ),
Container( Container(
padding: EdgeInsets.all(28), padding: EdgeInsets.all(28),
......
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