added profil and kurir page in pengirim, added pengiriman page at kurir, sort the api, design the ui back
This commit is contained in:
@ -276,6 +276,12 @@ class PendaftaranKurirController extends GetxController {
|
||||
onPressed: () {
|
||||
Get.back();
|
||||
},
|
||||
style: ElevatedButton.styleFrom(
|
||||
primary: const Color.fromARGB(255, 2, 72, 72),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
),
|
||||
),
|
||||
child: const Text("OK"),
|
||||
),
|
||||
const SizedBox(),
|
||||
@ -299,6 +305,9 @@ class PendaftaranKurirController extends GetxController {
|
||||
actions: [
|
||||
ElevatedButton(
|
||||
child: const Text('Tidak'),
|
||||
style: ElevatedButton.styleFrom(
|
||||
primary: const Color.fromARGB(255, 2, 72, 72),
|
||||
),
|
||||
onPressed: () {
|
||||
Get.back();
|
||||
},
|
||||
@ -306,7 +315,7 @@ class PendaftaranKurirController extends GetxController {
|
||||
ElevatedButton(
|
||||
child: const Text('Ya'),
|
||||
style: ElevatedButton.styleFrom(
|
||||
primary: Colors.red,
|
||||
primary: const Color.fromARGB(255, 104, 164, 164),
|
||||
),
|
||||
onPressed: () {
|
||||
sign_up();
|
||||
@ -472,6 +481,9 @@ class PendaftaranKurirController extends GetxController {
|
||||
actions: [
|
||||
ElevatedButton(
|
||||
child: const Text('Tidak'),
|
||||
style: ElevatedButton.styleFrom(
|
||||
primary: const Color.fromARGB(255, 104, 164, 164),
|
||||
),
|
||||
onPressed: () {
|
||||
Get.back();
|
||||
},
|
||||
@ -479,7 +491,7 @@ class PendaftaranKurirController extends GetxController {
|
||||
ElevatedButton(
|
||||
child: const Text('Ya'),
|
||||
style: ElevatedButton.styleFrom(
|
||||
primary: Colors.red,
|
||||
primary: const Color.fromARGB(255, 2, 72, 72),
|
||||
),
|
||||
onPressed: () async {
|
||||
await _cek_and_delete();
|
||||
|
||||
Reference in New Issue
Block a user