diff --git a/client/lib/controls/snack_bar.dart b/client/lib/controls/snack_bar.dart index 3f9399ab2..61d6a2ba9 100644 --- a/client/lib/controls/snack_bar.dart +++ b/client/lib/controls/snack_bar.dart @@ -66,7 +66,6 @@ class _SnackBarControlState extends State { content: createControl(widget.control, contentCtrls.first.id, disabled), backgroundColor: HexColor.fromString( Theme.of(context), widget.control.attrString("bgColor", "")!), - elevation: widget.control.attrDouble("elevation"), action: action); } diff --git a/sdk/python/flet/snack_bar.py b/sdk/python/flet/snack_bar.py index f6e2af790..ff7be395b 100644 --- a/sdk/python/flet/snack_bar.py +++ b/sdk/python/flet/snack_bar.py @@ -21,7 +21,6 @@ def __init__( # remove_current_snackbar: bool = False, action: str = None, bgcolor: str = None, - elevation: OptionalNumber = None, on_action=None, ): @@ -38,7 +37,6 @@ def __init__( self.content = content self.action = action self.bgcolor = bgcolor - self.elevation = elevation self.on_action = on_action def _get_control_name(self): @@ -101,16 +99,6 @@ def bgcolor(self): def bgcolor(self, value): self._set_attr("bgColor", value) - # elevation - @property - def elevation(self) -> OptionalNumber: - return self._get_attr("elevation") - - @elevation.setter - @beartype - def elevation(self, value: OptionalNumber): - self._set_attr("elevation", value) - # on_action @property def on_action(self):