divkit.dsl.EdgeInsetsUtils.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-json-builder Show documentation
Show all versions of kotlin-json-builder Show documentation
DivKit is an open source Server-Driven UI (SDUI) framework. SDUI is a an emerging technique that leverage the server to build the user interfaces of their mobile app.
package divkit.dsl
import divkit.dsl.scope.DivScope
/**
* @param all Margin.
*/
fun DivScope.edgeInsets(all: Int, unit: SizeUnit? = null): EdgeInsets = edgeInsets(
left = all,
right = all,
top = all,
bottom = all,
unit = unit,
)