plese see the problem on this picture
How one can take away double background from right here.
That is my code. I need to take away the white background coloration and use similar background all over the place for ios machine flutter.
AlertDialog.adaptive(
title: Textual content(
title!,
model: TextStyle(
fontSize: Theme.of(context).textTheme.titleLarge!.fontSize),
),
content material: contentWidget ??
Textual content(content material,
model: TextStyle(
fontSize:
Theme.of(context).textTheme.bodyLarge!.fontSize)),
actions: lstDialog == null
? [
TextButton(
child: Text(
UC.lang!.ok!,
style: TextStyle(
fontSize: Theme.of(context)
.textTheme
.titleLarge!
.fontSize),
),
onPressed: () {
if (canClose == null || canClose()) {
UC.popScene();
}
})
]
: lstDialog.reversed
.filter((merchandise) => merchandise != null)
.map(
(dlg) => TextButton(
model: ButtonStyle(
backgroundColor: MaterialStateProperty.all<Coloration?>(
dlg!.coloration ?? null,
),
),
baby: Textual content(
dlg.label!,
model: TextStyle(
fontSize: Theme.of(context)
.textTheme
.titleLarge!
.fontSize),
),
onPressed: () {
if (canClose == null || canClose()) {
UC.popScene();
}
if (dlg.onPress != null) {
dlg.onPress!();
}
}),
)
.toList(),
);
Plese inform me methods to repair this challenge.
enter picture description right here