GlassTextArea constructor
const
GlassTextArea({
- Key? key,
- TextEditingController? controller,
- FocusNode? focusNode,
- String? placeholder,
- int minLines = 3,
- int maxLines = 5,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - bool enabled = true,
- bool readOnly = false,
- bool autofocus = false,
- TextInputAction? textInputAction = TextInputAction.newline,
- List<
TextInputFormatter> ? inputFormatters, - TextStyle? textStyle,
- TextStyle? placeholderStyle,
- EdgeInsetsGeometry padding = const EdgeInsets.all(16),
- LiquidGlassSettings? settings,
- bool useOwnLayer = false,
- GlassQuality quality = GlassQuality.standard,
- LiquidShape shape = const LiquidRoundedSuperellipse(borderRadius: 10),
Creates a glass text area.
Implementation
const GlassTextArea({
super.key,
this.controller,
this.focusNode,
this.placeholder,
this.minLines = 3,
this.maxLines = 5,
this.onChanged,
this.onSubmitted,
this.enabled = true,
this.readOnly = false,
this.autofocus = false,
this.textInputAction = TextInputAction.newline,
this.inputFormatters,
this.textStyle,
this.placeholderStyle,
this.padding = const EdgeInsets.all(16),
// Glass properties
this.settings,
this.useOwnLayer = false,
this.quality = GlassQuality.standard,
this.shape = const LiquidRoundedSuperellipse(borderRadius: 10),
});