superscript.helper library
Constants
-
kSuperscripts
→ const Map<
String, String> -
kSuperscriptsReverse
→ const Map<
String, String>
Functions
-
isSuperscript(
String character) → bool -
Checks if the given
characteris a superscript character. -
revertSuperscripts(
String value) → String -
Reverts superscript characters in the given
valueto their normal equivalents. -
superscriptLastCharacter(
String value) → String -
Replaces the last character of the given
valuewith its superscript equivalent if available.