import { Widget } from "./widget" ; import { TextAlign , TextDirection } from "../dart-ui" ; import { InlineSpan } from "../painting" ; import { TextOverflow } from "../rendering" ; /**
 * https://api.flutter.dev/flutter/widgets/RichText-class.html
 */ export class RichText extends Widget { text : InlineSpan ; textAlign ? : TextAlign ; textDirection ? : TextDirection ; overflow ? : TextOverflow ; maxLines ? : number ; constructor ( props ) { super ( ) ; this . text = props . text ; this . textAlign = props . textAlign ; this . textDirection = props . textDirection ; this . overflow = props . overflow ; this . maxLines = props . maxLines ; } }