SelectableTextfield constructor
const
SelectableTextfield(
- EditorDecoration editorDecoration,
- TextEditingController controller,
- FocusNode focusNode, {
- Key? key,
- int? maxLength,
- required bool autofocus,
- ScrollController? scrollController,
initializes a new SelectableTextfield.
editorDecoration
contains style information for the textfield to look
properly.
controller
handles selection changes
focusNode
is used to check if the field is focused or not
Implementation
const SelectableTextfield(
this.editorDecoration,
this.controller,
this.focusNode, {
Key? key,
this.maxLength,
required this.autofocus,
this.scrollController,
}) : super(key: key);