TextView constructor

TextView(
  1. String child, {
  2. Key? key,
  3. dynamic styles,
  4. String? className,
  5. dynamic onClick()?,
})

Implementation

TextView(this.child, {Key? key, this.styles, this.className, this.onClick})
    : super(key: key) {
  mStyles = StylesMap.formMap(mergeStyle(this.styles));
}