scratch-dsl
Toggle table of contents
master
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
scratch-dsl
scratch-dsl
/
org.scratchapi.scratchdsl
/
withField
with
Field
fun
<
B
:
NormalBlock
>
B
.
withField
(
name
:
String
,
field
:
Field
)
:
B
Adds a field to a block.
Parameters
name
The name of the field.
field
The field to add.