diff --git a/mobile/lib/screen/form_login/login_screen.dart b/mobile/lib/screen/form_login/login_screen.dart index e4ef1f6..95cde0c 100644 --- a/mobile/lib/screen/form_login/login_screen.dart +++ b/mobile/lib/screen/form_login/login_screen.dart @@ -81,17 +81,6 @@ class _LoginScreenState extends State { padding: const EdgeInsets.symmetric(vertical: 15, horizontal: 30), child: Stack( children: [ - TextButton( - style: ButtonStyle( - overlayColor: MaterialStateProperty.all(Colors.black12)), - onPressed: _handleKembaliButton, - child: const Text( - "Kembali", - style: TextStyle( - color: Colors.black, - fontWeight: FontWeight.bold, - fontSize: 15), - )), Center( child: SingleChildScrollView( reverse: true, @@ -217,6 +206,20 @@ class _LoginScreenState extends State { ), ), ), + ElevatedButton( + style: ButtonStyle( + overlayColor: MaterialStateProperty.all(Colors.black12), + backgroundColor: MaterialStateProperty.all(Colors.white), + ), + onPressed: _handleKembaliButton, + child: const Text( + "Kembali", + style: TextStyle( + color: Colors.black, + fontWeight: FontWeight.bold, + fontSize: 15), + ), + ), ], ), ))); diff --git a/mobile/lib/screen/form_register/register_screen.dart b/mobile/lib/screen/form_register/register_screen.dart index cea088c..544078f 100644 --- a/mobile/lib/screen/form_register/register_screen.dart +++ b/mobile/lib/screen/form_register/register_screen.dart @@ -95,18 +95,6 @@ class RegisterScreenState extends State { padding: const EdgeInsets.symmetric(vertical: 15, horizontal: 30), child: Stack( children: [ - TextButton( - style: ButtonStyle( - overlayColor: - MaterialStateProperty.all(Colors.black12)), - onPressed: _handleKembaliButton, - child: const Text( - "Kembali", - style: TextStyle( - color: Colors.black, - fontWeight: FontWeight.bold, - fontSize: 15), - )), Center( child: SingleChildScrollView( reverse: true, @@ -266,7 +254,21 @@ class RegisterScreenState extends State { ), ), ), - ) + ), + ElevatedButton( + style: ButtonStyle( + overlayColor: MaterialStateProperty.all(Colors.black12), + backgroundColor: MaterialStateProperty.all(Colors.white), + ), + onPressed: _handleKembaliButton, + child: const Text( + "Kembali", + style: TextStyle( + color: Colors.black, + fontWeight: FontWeight.bold, + fontSize: 15), + ), + ), ], )), ), diff --git a/mobile/lib/screen/form_review/form_review_screen.dart b/mobile/lib/screen/form_review/form_review_screen.dart index 3b494f4..62d72d0 100644 --- a/mobile/lib/screen/form_review/form_review_screen.dart +++ b/mobile/lib/screen/form_review/form_review_screen.dart @@ -144,17 +144,6 @@ class _FormReviewScreenState extends State { padding: const EdgeInsets.all(12.0), child: Stack( children: [ - TextButton( - style: ButtonStyle( - overlayColor: MaterialStateProperty.all(Colors.black12)), - onPressed: _handleKembaliButton, - child: const Text( - "Kembali", - style: TextStyle( - color: Colors.black, - fontWeight: FontWeight.bold, - fontSize: 15), - )), Center( child: SingleChildScrollView( reverse: true, @@ -349,7 +338,21 @@ class _FormReviewScreenState extends State { ), ), ), - ) + ), + ElevatedButton( + style: ButtonStyle( + overlayColor: MaterialStateProperty.all(Colors.black12), + backgroundColor: MaterialStateProperty.all(Colors.white), + ), + onPressed: _handleKembaliButton, + child: const Text( + "Kembali", + style: TextStyle( + color: Colors.black, + fontWeight: FontWeight.bold, + fontSize: 15), + ), + ), ], ), ), diff --git a/mobile/lib/screen/form_tikum/form_tikum_screen.dart b/mobile/lib/screen/form_tikum/form_tikum_screen.dart index 3a2fbe9..41f3919 100644 --- a/mobile/lib/screen/form_tikum/form_tikum_screen.dart +++ b/mobile/lib/screen/form_tikum/form_tikum_screen.dart @@ -87,18 +87,6 @@ class _FormTikumScreenState extends State { padding: const EdgeInsets.all(12.0), child: Stack( children: [ - TextButton( - style: ButtonStyle( - overlayColor: MaterialStateProperty.all(Colors.black12)), - onPressed: _handleKembaliButton, - child: const Text( - "Kembali", - style: TextStyle( - color: Colors.black, - fontWeight: FontWeight.bold, - fontSize: 15), - ), - ), Center( child: SingleChildScrollView( reverse: true, @@ -347,7 +335,21 @@ class _FormTikumScreenState extends State { ), ), ), - ) + ), + ElevatedButton( + style: ButtonStyle( + overlayColor: MaterialStateProperty.all(Colors.black12), + backgroundColor: MaterialStateProperty.all(Colors.white), + ), + onPressed: _handleKembaliButton, + child: const Text( + "Kembali", + style: TextStyle( + color: Colors.black, + fontWeight: FontWeight.bold, + fontSize: 15), + ), + ), ], ), ),