TextView constructor
TextView(})
Implementation
TextView(this.child,
{Key? key, this.styles = const {}, this.className, this.onClick}) {
final type = this.styles.runtimeType.toString();
if (type == 'List<Map<String, dynamic>>' ||
type == 'List<Map<String, String>>') {
mStyles = StylesMap.formMap(mergeStyle(this.styles));
} else {
mStyles = StylesMap.formMap(this.styles ?? {});
}
}