We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cc7e00 commit 1d129e2Copy full SHA for 1d129e2
1 file changed
stub/src/main/java/com/omega_r/libs/omegatypes/Text.kt
@@ -5,14 +5,25 @@ import java.lang.RuntimeException
5
6
interface Text : Serializable, Textable {
7
8
+ companion object {
9
+
10
+ @JvmStatic
11
+ @JvmOverloads
12
+ fun from(string: String, textStyle: TextStyle? = null): Text = throw Exception()
13
14
+ }
15
16
interface StringHolder {
17
18
fun getStringText(): String?
19
20
}
21
22
+ operator fun plus(text: Text): Text = throw Exception()
23
24
25
26
abstract class TextStyle : Serializable
27
-fun String.toText(textStyle: TextStyle? = null): Text = throw RuntimeException()
28
+fun String.toText(textStyle: TextStyle? = null): Text = throw RuntimeException()
29
0 commit comments