super_text_field library

Classes

AndroidCursorPainter
A CustomPainter that paints an Android-style caret.
AndroidTextFieldCaret
An Android-style blinking caret.
AttributedTextEditingController
DefaultSuperTextFieldKeyboardHandlers
ImeAttributedTextEditingController
An AttributedTextEditingController that integrates the platform's Input Method Engine (IME) changes into the text, selection, and composing region of a text field's content.
IOSTextFieldCaret
An iOS-style blinking caret.
IOSTextFieldTouchInteractor
iOS text field touch interaction surface.
IOSTextFieldTouchInteractorState
MagnifyingGlass
A magnifying glass that enlarges the content beneath it.
StyledHintBuilder
Builds a hint widget based on given hintText and a hintTextStyleBuilder.
SuperAndroidTextField
SuperAndroidTextFieldState
SuperDesktopTextField
Highly configurable text field intended for web and desktop uses.
SuperDesktopTextFieldState
SuperIOSTextField
SuperIOSTextFieldState
SuperTextField
Text field that supports styled text.
SuperTextFieldContext
Collection of core artifacts used to interact with, and edit, a text field.
SuperTextFieldGestureInteractor
Handles all user gesture interactions for text entry.
SuperTextFieldImeInteractor
Opens and closes an IME connection based on changes to focus and selection.
SuperTextFieldKeyboardInteractor
Handles all keyboard interactions for text entry in a text field.
SuperTextFieldKeys
SuperTextFieldScrollview
Handles all scrolling behavior for a text field.
SuperTextFieldScrollviewState
SuperTextFieldState
TextFieldBorder
A border that displays with different colors based on common text field states, e.g., non-focused, focused, error.
TextFieldBorderState
Properties that might impact the visual appearance of a text field border.
TextScrollController
TextScrollControllerDelegate
TextScrollView
A scrollable that positions its child based on text metrics.

Enums

HintBehavior
Policy that dictates when to display a hint in a Super Text Field.
SuperTextFieldPlatformConfiguration
Configures a SuperTextField for the given platform.
TextFieldKeyboardHandlerResult
TextFieldSizePolicy

Functions

defaultHintStyleBuilder(Set<Attribution> attributions) TextStyle
Creates default TextStyles for hint text in a super text field.
defaultTextFieldStyleBuilder(Set<Attribution> attributions) TextStyle
Default TextStyles for SuperTextField.
ignoreTextFieldKeyCombos(List<ShortcutActivator> keys) TextFieldKeyboardHandler
A TextFieldKeyboardHandler that reports TextFieldKeyboardHandlerResult.blocked for any key combination that matches one of the given keys.

Typedefs

DecorationBuilder = Widget Function(BuildContext, Widget child)
RightClickListener = void Function(BuildContext textFieldContext, AttributedTextEditingController textController, Offset textFieldOffset)
SuperTextFieldLayoutResolver = ProseTextLayout Function()
Function that returns the text layout for a text field.
SuperTextFieldSelectorHandler = void Function({required SuperTextFieldContext textFieldContext})
A callback to handle a performSelector call.
TextFieldBorderBuilder = BoxDecoration Function(TextFieldBorderState borderState)
TextFieldKeyboardHandler = TextFieldKeyboardHandlerResult Function({required KeyEvent keyEvent, required SuperTextFieldContext textFieldContext})
TextInputConnectionFactory = TextInputConnection Function(TextInputClient client, TextInputConfiguration configuration)