We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae3852c commit 93433c3Copy full SHA for 93433c3
Sources/Swift/FlexLayout.swift
@@ -1217,6 +1217,18 @@ public final class Flex {
1217
// MARK: Gap
1218
//
1219
1220
+ /**
1221
+ Get paddings between views.
1222
+ */
1223
+ @discardableResult
1224
+ public func getGap(_ gutter: Gutter) -> CGFloat {
1225
+ switch gutter {
1226
+ case .column: return yoga.columnGap
1227
+ case .row: return yoga.rowGap
1228
+ case .all: return yoga.gap
1229
+ }
1230
1231
+
1232
/**
1233
Set paddings between views.
1234
*/
0 commit comments