TextFieldConfiguration class
Constructors
-
TextFieldConfiguration({EdgeInsetsGeometry? contentPadding, int? maxLines, BorderRadius? borderRadius, String? hintText, TextStyle? hintStyle, TextStyle? textStyle, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, int? minLines, TextInputType? textInputType, void onMessageTyping(TypeWriterStatus status)?, Duration compositionThresholdTime = const Duration(seconds: 1), List<
TextInputFormatter> ? inputFormatters, TextCapitalization? textCapitalization, bool enabled = true}) -
const
Properties
- borderRadius → BorderRadius?
-
Used to give border radius in text field.
final
- compositionThresholdTime → Duration
-
After typing stopped, the threshold time after which the composing
status to be changed to
TypeWriterStatus.composed
. Default is 1 second.final - contentPadding → EdgeInsetsGeometry?
-
Used to give content padding in text field.
final
- enabled → bool
-
Used for enable or disable the chat text field.
false
also will disable the buttons for send images, record audio or take picture. Default istrue
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- hintStyle → TextStyle?
-
Used to give text style of hint text in text field.
final
- hintText → String?
-
Used to give hint text in text field.
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
Used to give list of input formatters for text field.
final
- margin → EdgeInsetsGeometry?
-
Used to give margin in text field.
final
- maxLines → int?
-
Used to give max lines in text field.
final
- minLines → int?
-
Used to give min lines in text field.
final
- onMessageTyping → void Function(TypeWriterStatus status)?
-
Callback when a user starts/stops typing a message by TypeWriterStatus
final
- padding → EdgeInsetsGeometry?
-
Used to give padding in text field.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textCapitalization → TextCapitalization?
-
Used to give textCapitalization enums to text field.
final
- textInputType → TextInputType?
-
Used to give text input type of text field.
final
- textStyle → TextStyle?
-
Used to give text style of actual text in text field.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited