phoneVerified method
dynamic
phoneVerified()
Implementation
phoneVerified() {
showDialog(
barrierDismissible: false,
context: context,
builder: (BuildContext contextd) {
return Column(
mainAxisSize: MainAxisSize.max,
children: [
Expanded(
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
DefaultText(
textLabel: "Phone Number Verification",
fontWeight: FontWeight.bold,
sizeText: 18,
),
CircleAvatar(
backgroundColor: Colors.deepOrange,
radius: 30,
child: Icon(
Icons.check,
color: Colors.white,
),
),
DefaultText(
textLabel:"Phone Number Verified",
fontWeight: FontWeight.bold,
sizeText: 18,
),
DefaultText(
textLabel:"Please click continue",
fontWeight: FontWeight.bold,
colorsText: Colors.grey.shade200,
sizeText: 14,
),
]),
),
GestureDetectorDefault(
isLoading: isLoading,
onTap: () {
SubmitApi();
},
child: DefaultText(
alignment: Alignment.center,
margin:
EdgeInsets.only(bottom: 30, left: 16, right: 16, top: 20),
borderRadius: BorderRadius.all(Radius.circular(5)),
textAlign: TextAlign.center,
colorsText: Colors.white,
padding: EdgeInsets.symmetric(horizontal: 10, vertical: 10),
textLabel: "Continue",
fontWeight: FontWeight.bold,
isGradient: isOkeySubmit ? true : false,
colorbackground:
!isOkeySubmit ? Colors.grey.shade300 : Colors.deepOrange,
),
),
],
);
});
}