sparkFontFamily
fun sparkFontFamily(fontFamily: ERROR CLASS: Symbol not found for FontFamily?? = null, useSparkTokensHighlighter: Boolean = false): SparkFontFamily
Creates a SparkFontFamily with the given fontFamily and useSparkTokensHighlighter.
Parameters
fontFamily
The FontFamily you want to use globally inside your app. If null, uses the default Nunito Sans font.
useSparkTokensHighlighter
If true, the FontFamily will be replaced by FontFamily.Cursive when the token highlighting is enabled in the SparkTheme.