fix warnings

This commit is contained in:
DmitriyLabutin
2024-06-04 18:02:00 +03:00
parent 425c6600ae
commit ed0c3fcef1
5 changed files with 2 additions and 22 deletions

View File

@@ -16,7 +16,7 @@ class CustomButtonStyles {
);
// text button style
static ButtonStyle get none => ButtonStyle(
backgroundColor: MaterialStateProperty.all<Color>(Colors.transparent),
elevation: MaterialStateProperty.all<double>(0),
backgroundColor: WidgetStateProperty.all<Color>(Colors.transparent),
elevation: WidgetStateProperty.all<double>(0),
);
}