Skip to content

Commit 964924d

Browse files
committed
Remove SnackBar.elevation
1 parent 905b4ff commit 964924d

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

client/lib/controls/snack_bar.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ class _SnackBarControlState extends State<SnackBarControl> {
6666
content: createControl(widget.control, contentCtrls.first.id, disabled),
6767
backgroundColor: HexColor.fromString(
6868
Theme.of(context), widget.control.attrString("bgColor", "")!),
69-
elevation: widget.control.attrDouble("elevation"),
7069
action: action);
7170
}
7271

sdk/python/flet/snack_bar.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def __init__(
2121
# remove_current_snackbar: bool = False,
2222
action: str = None,
2323
bgcolor: str = None,
24-
elevation: OptionalNumber = None,
2524
on_action=None,
2625
):
2726

@@ -38,7 +37,6 @@ def __init__(
3837
self.content = content
3938
self.action = action
4039
self.bgcolor = bgcolor
41-
self.elevation = elevation
4240
self.on_action = on_action
4341

4442
def _get_control_name(self):
@@ -101,16 +99,6 @@ def bgcolor(self):
10199
def bgcolor(self, value):
102100
self._set_attr("bgColor", value)
103101

104-
# elevation
105-
@property
106-
def elevation(self) -> OptionalNumber:
107-
return self._get_attr("elevation")
108-
109-
@elevation.setter
110-
@beartype
111-
def elevation(self, value: OptionalNumber):
112-
self._set_attr("elevation", value)
113-
114102
# on_action
115103
@property
116104
def on_action(self):

0 commit comments

Comments
 (0)