import { Color } from "../dart-ui/color" ; import { Radius } from "../dart-ui/radius" ; import { TextAlign } from "../dart-ui/text-align" ; import { TextDirection } from "../dart-ui/text-direction" ; import { VoidCallback } from "../dart-ui/void-callback" ; import { double } from "../dart/double" ; import { EdgeInsets } from "../painting/edgeinsets" ; import { TextAlignVertical } from "../painting/text-align-vertical" ; import { TextStyle } from "../painting/text-style" ; import { ToolbarOptions , Widget } from "../widgets" ; import { InputDecoration } from "./input-decoration" ; /**
 * https://api.flutter.dev/flutter/material/TextField-class.html
 */ export class TextField extends Widget { decoration : InputDecoration ; style : TextStyle ; textAlign : TextAlign ; textAlignVertical : TextAlignVertical ; textDirection : TextDirection ; readOnly : boolean ; toolbarOptions : ToolbarOptions ; showCursor : boolean ; autofocus : boolean ; obscuringCharacter : string ; obscureText : boolean ; autocorrect : boolean ; enableSuggestions : boolean ; maxLines : number ; minLines : number ; expands : boolean ; maxLength : number ; maxLengthEnforced : boolean ; onEditingComplete : VoidCallback ; inputFormatters : Array < string > ; enabled : boolean ; cursorWidth : double ; cursorHeight : double ; cursorRadius : Radius ; cursorColor : Color ; scrollPadding : EdgeInsets ; enableInteractiveSelection : boolean ; autofillHints : Map < string , string > ; restorationId : string ; /**
     * https://api.flutter.dev/flutter/material/TextField/TextField.html
     */ constructor ( args ? ) { super ( ) ; this . decoration = args ?. decoration ; this . style = args ?. style ; this . textAlign = args ?. textAlign ; this . textAlignVertical = args ?. textAlignVertical ; this . textDirection = args ?. textDirection ; this . readOnly = args ?. readOnly ; this . toolbarOptions = args ?. toolbarOptions ; this . showCursor = args ?. showCursor ; this . autofocus = args ?. autofocus ; this . obscuringCharacter = args ?. obscuringCharacter ; this . obscureText = args ?. obscureText ; this . autocorrect = args ?. autocorrect ; this . enableSuggestions = args ?. enableSuggestions ; this . maxLines = args ?. maxLines ; this . minLines = args ?. minLines ; this . expands = args ?. expands ; this . maxLength = args ?. maxLength ; this . maxLengthEnforced = args ?. maxLengthEnforced ; this . onEditingComplete = args ?. onEditingComplete ; this . inputFormatters = args ?. inputFormatters ; this . enabled = args ?. enabled ; this . cursorWidth = args ?. cursorWidth ; this . cursorHeight = args ?. cursorHeight ; this . cursorRadius = args ?. cursorRadius ; this . cursorColor = args ?. cursorColor ; this . scrollPadding = args ?. scrollPadding ; this . enableInteractiveSelection = args ?. enableInteractiveSelection ; this . autofillHints = args ?. autofillHints ; this . restorationId = args ?. restorationId ; } }