feat: avoid using the depreciated background (#746)

This commit is contained in:
Aman Raj Singh Mourya authored and GitHub committed 2024-09-18 14:39:01 +08:00
1 parent 3308d966f0
commit bdda550b2c
3 files changed
+6 -7

No files matched your search

@@ -335,8 +335,8 @@ class ExtensionView extends GetView<ExtensionController> {
style:
ElevatedButton.styleFrom(shape: const StadiumBorder())
.copyWith(
backgroundColor: MaterialStateProperty.all(
Get.theme.colorScheme.background)),
backgroundColor: WidgetStateProperty.all(
Get.theme.colorScheme.surface)),
onPressed: () {
Get.back();
},