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.
- IOSEditingControls
- Overlay editing controls for an iOS-style text field.
- IOSEditingOverlayController
- IOSSuperTextFieldSystemContextMenu
- IOSSystemContextMenu
- Displays the iOS system context menu on top of the Flutter view.
- 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
Constants
- defaultAndroidControlsColor → const Color
- defaultDesktopCaretColor → const Color
- defaultIOSControlsColor → const Color
- defaultSelectionColor → const Color
-
defaultTextFieldImeKeyboardHandlers
→ const List<
TextFieldKeyboardHandler> - The keyboard actions that a SuperTextField uses by default when using TextInputSource.ime.
-
defaultTextFieldKeyboardHandlers
→ const List<
TextFieldKeyboardHandler> - The keyboard actions that a SuperTextField uses by default.
-
defaultTextFieldSelectorHandlers
→ const Map<
String, SuperTextFieldSelectorHandler>
Functions
-
defaultHintStyleBuilder(
Set< Attribution> attributions) → TextStyle -
Creates default
TextStyles
for hint text in a super text field. -
defaultIosPopoverToolbarBuilder(
BuildContext context, IOSEditingOverlayController controller) → Widget - Returns a widget for the default/standard iOS-style popover provided by 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
. -
iOSSystemPopoverTextFieldToolbarWithFallback(
BuildContext context, IOSEditingOverlayController controller) → Widget - An IOSPopoverToolbarBuilder that displays the iOS system popover toolbar, if the version of iOS is recent enough, otherwise builds defaultIosPopoverToolbarBuilder.
Typedefs
- DecorationBuilder = Widget Function(BuildContext, Widget child)
- IOSPopoverToolbarBuilder = Widget Function(BuildContext, IOSEditingOverlayController)
- Builder that returns a widget for an iOS-style popover editing toolbar.
- 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)