TextArea constructor
const
TextArea({
- Key? key,
- bool expandableHeight = false,
- bool expandableWidth = false,
- double initialHeight = 100,
- double initialWidth = double.infinity,
- ValueChanged<
double> ? onHeightChanged, - ValueChanged<
double> ? onWidthChanged, - TextEditingController? controller,
- bool filled = false,
- String? placeholder,
- bool border = true,
- Widget? leading,
- Widget? trailing,
- EdgeInsetsGeometry? padding,
- ValueChanged<
String> ? onSubmitted, - VoidCallback? onEditingComplete,
- FocusNode? focusNode,
- VoidCallback? onTap,
- bool enabled = true,
- bool readOnly = false,
- bool obscureText = false,
- String obscuringCharacter = '•',
- String? initialValue,
- int? maxLength,
- MaxLengthEnforcement? maxLengthEnforcement,
- BorderRadius? borderRadius,
- TextAlign textAlign = TextAlign.start,
- double minWidth = 100,
- double minHeight = 100,
- double maxWidth = double.infinity,
- double maxHeight = double.infinity,
Implementation
const TextArea({
super.key,
this.expandableHeight = false,
this.expandableWidth = false,
this.initialHeight = 100,
this.initialWidth = double.infinity,
this.onHeightChanged,
this.onWidthChanged,
this.controller,
this.filled = false,
this.placeholder,
this.border = true,
this.leading,
this.trailing,
this.padding,
this.onSubmitted,
this.onEditingComplete,
this.focusNode,
this.onTap,
this.enabled = true,
this.readOnly = false,
this.obscureText = false,
this.obscuringCharacter = '•',
this.initialValue,
this.maxLength,
this.maxLengthEnforcement,
this.borderRadius,
this.textAlign = TextAlign.start,
this.minWidth = 100,
this.minHeight = 100,
this.maxWidth = double.infinity,
this.maxHeight = double.infinity,
});