createBalloon

inline fun createBalloon(context: Context, crossinline block: Balloon.Builder.() -> Unit): Balloon

Creates an instance of the Balloon by scope of the Balloon.Builder using kotlin dsl.

Parameters

context

A context for creating resources of the Balloon.

block

A dsl scope lambda from the Balloon.Builder.