TextComponent.customFont constructor
TextComponent.customFont(
- String char, {
- Color? color = Color.White,
- bool? bold,
- bool? underlined,
- bool? italic,
- bool? strikethrough,
- bool? obfuscated,
- TextClickEvent? clickEvent,
- TextHoverEvent? hoverEvent,
- String? insertion,
TextComponent.customFont | |
---|---|
String | a Custom Font Character(\uHEX ) to insert in your text |
...same properties... | from TextComponent |
TextComponent.customFont('\uFaa4')
⇒ {'text':'\uFaa4','color':'white'}
Implementation
TextComponent.customFont(
String char, {
this.color = Color.White,
this.bold,
this.underlined,
this.italic,
this.strikethrough,
this.obfuscated,
this.clickEvent,
this.hoverEvent,
this.insertion,
}) : value = {'text': char};