1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
use crate;
use EdgeInsetsGeometry;
// add(EdgeInsetsGeometry other) → EdgeInsetsGeometry
// Returns the sum of two EdgeInsetsGeometry objects.
// override
// along(Axis axis) → double
// The total offset in the given direction.
// inherited
// clamp(EdgeInsetsGeometry min, EdgeInsetsGeometry max) → EdgeInsetsGeometry
// Returns a new EdgeInsetsGeometry object with all values greater than or equal to min, and less than or equal to max.
// override
// copyWith({double? left, double? top, double? right, double? bottom}) → EdgeInsets
// Creates a copy of this EdgeInsets but with the given fields replaced with the new values.
// deflateRect(Rect rect) → Rect
// Returns a new rect that is smaller than the given rect in each direction by the amount of inset in each direction. Specifically, the left edge of the rect is moved right by left, the top edge of the rect is moved down by top, the right edge of the rect is moved left by right, and the bottom edge of the rect is moved up by bottom.
// deflateSize(Size size) → Size
// Returns a new size that is smaller than the given size by the amount of inset in the horizontal and vertical directions.
// inherited
// inflateRect(Rect rect) → Rect
// Returns a new rect that is bigger than the given rect in each direction by the amount of inset in each direction. Specifically, the left edge of the rect is moved left by left, the top edge of the rect is moved up by top, the right edge of the rect is moved right by right, and the bottom edge of the rect is moved down by bottom.
// inflateSize(Size size) → Size
// Returns a new size that is bigger than the given size by the amount of inset in the horizontal and vertical directions.
// inherited
// noSuchMethod(Invocation invocation) → dynamic
// Invoked when a non-existent method or property is accessed.
// inherited
// resolve(TextDirection? direction) → EdgeInsets
// Convert this instance into an EdgeInsets, which uses literal coordinates (i.e. the left coordinate being explicitly a distance from the left, and the right coordinate being explicitly a distance from the right).
// override
// subtract(EdgeInsetsGeometry other) → EdgeInsetsGeometry
// Returns the difference between two EdgeInsetsGeometry objects.
// override
// toString() → String
// A string representation of this object.
// inherited
// // Creates insets where all the offsets are value.
// pub struct EdgeInsetsAll(pub f32);
// // Creates insets from offsets from the left, top, right, and bottom.
// pub struct EdgeInsetsLTRB {
// pub left: f32,
// pub top: f32,
// pub right: f32,
// pub bottom: f32,
// }
// Creates insets that match the given window padding.
// EdgeInsets.fromWindowPadding(WindowPadding padding, double devicePixelRatio)
// Creates insets with symmetrical vertical and horizontal offsets.