import { Widget } from "./widget" ; import { TextAlign } from "../dart-ui/text-align" ; import { TextStyle } from "../painting/text-style" ; import { TextOverflow } from "../rendering/text-overflow" ; /**
 * https://api.flutter.dev/flutter/widgets/DefaultTextStyle/DefaultTextStyle.html
 */ export class DefaultTextStyle extends Widget { style : TextStyle ; textAlign : TextAlign ; softWrap : boolean = true ; overflow : TextOverflow = TextOverflow . clip ; maxLines : number ; child : Widget ; constructor ( { style , textAlign , softWrap = true , overflow = TextOverflow . clip , maxLines , child , } ) { super ( ) ; this . style = style ; this . textAlign = textAlign ; this . softWrap = softWrap ; this . overflow = overflow ; this . maxLines = maxLines ; this . child = child ; } }