MCPcopy
hub / github.com/flet-dev/flet / all

Method all

sdk/python/packages/flet/src/flet/controls/margin.py:36–40  ·  view source on GitHub ↗

Applies the same margin to all sides.

(cls, value: Number)

Source from the content-addressed store, hash-verified

34
35 @classmethod
36 def all(cls, value: Number) -> "Margin":
37 """
38 Applies the same margin to all sides.
39 """
40 return Margin(left=value, top=value, right=value, bottom=value)
41
42 @classmethod
43 def symmetric(cls, *, vertical: Number = 0, horizontal: Number = 0) -> "Margin":

Callers 15

test_theme_1Function · 0.45
test_theme_1Function · 0.45
test_theme_1Function · 0.45
swatchFunction · 0.45
test_theme_1Function · 0.45
test_theme_1Function · 0.45
test_theme_1Function · 0.45
test_theme_1Function · 0.45
test_theme_1Function · 0.45
test_theme_1Function · 0.45
test_margin_aroundFunction · 0.45

Calls 1

MarginClass · 0.85

Tested by 15

test_theme_1Function · 0.36
test_theme_1Function · 0.36
test_theme_1Function · 0.36
swatchFunction · 0.36
test_theme_1Function · 0.36
test_theme_1Function · 0.36
test_theme_1Function · 0.36
test_theme_1Function · 0.36
test_theme_1Function · 0.36
test_theme_1Function · 0.36
test_margin_aroundFunction · 0.36