showDialog(
context: context,
builder: (BuildContext context) {
return Dialog(
shape: RoundedRectangleBorder(
borderRadius:
BorderRadius.circular(30.0),
),
child: Container(
padding: EdgeInsets.all(20.0),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
CustomText(
size: 17,
fontWeight: FontWeight.w600,
text:
"Please note this feature is currently unavailable. We are working on it."),
SizedBox(height: 20.0),
CustomButton(
onPressed: () {
Navigator.pop(context);
},
text: 'Close')
],
),
),
);
},
);
Comments
Post a Comment