|
|
|
|
@ -16,7 +16,7 @@ class SingleBtnDialog extends StatelessWidget {
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return Dialog(
|
|
|
|
|
backgroundColor: Colors.white,
|
|
|
|
|
backgroundColor: AppColor.background(context),
|
|
|
|
|
shape: const RoundedRectangleBorder(),
|
|
|
|
|
insetPadding: const EdgeInsets.only(left: 21, right: 21),
|
|
|
|
|
child: Padding(
|
|
|
|
|
@ -27,9 +27,9 @@ class SingleBtnDialog extends StatelessWidget {
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
|
|
|
|
title ?? "Confirm",
|
|
|
|
|
style: const TextStyle(fontSize: 24, fontWeight: FontWeight.w600, color: Colors.black87, height: 35 / 24, letterSpacing: -0.96),
|
|
|
|
|
style: TextStyle(fontSize: 24, fontWeight: FontWeight.w600, color: AppColor.headingTextColor(context), height: 35 / 24, letterSpacing: -0.96),
|
|
|
|
|
).paddingOnly(top: 16),
|
|
|
|
|
message != null ? message!.heading5(context).custom(color: AppColor.neutral70) : const SizedBox(),
|
|
|
|
|
message != null ? message!.heading5(context).custom(color: AppColor.headingTextColor(context)) : const SizedBox(),
|
|
|
|
|
28.height,
|
|
|
|
|
AppFilledButton(
|
|
|
|
|
label: okTitle ?? "OK",
|
|
|
|
|
|