fontSelector

inline fun fontSelector(defaultFont: Font? = null, configuration: FontSelectorDialog.() -> Unit): Optional<Font>

Build a font selector dialog with Kotlin DSL.

Return

selected font.

Parameters

defaultFont

initially selected font.

configuration

custom dialog action.