TextField class
A highly customizable single-line text input widget with extensive feature support.
TextField provides a comprehensive text editing experience with support for a wide range of input types, validation, formatting, and interactive features. It serves as the foundation for most text input scenarios in the shadcn_flutter design system, offering both basic text input and advanced capabilities through its feature system.
Key features:
- Comprehensive text input with platform-native behavior
- Extensive customization through InputFeature system
- Built-in support for validation and formatting
- Configurable appearance with theming support
- Context menu customization and clipboard operations
- Keyboard shortcuts and accessibility support
- Form integration with automatic value management
The widget supports various input modes:
- Single-line text input (default)
- Obscured text for passwords
- Formatted input with custom formatters
- Auto-completion and suggestions
- Numeric input with spinners
Input features can be added to enhance functionality:
- Clear button for easy text clearing
- Password visibility toggle
- Copy/paste operations
- Auto-complete suggestions
- Validation indicators
- Custom leading/trailing widgets
Example:
TextField(
  hintText: 'Enter your email',
  keyboardType: TextInputType.emailAddress,
  features: [
    InputClearFeature(),
    InputRevalidateFeature(),
  ],
  onChanged: (text) => _handleTextChange(text),
);
- Inheritance
- 
    - Object
- DiagnosticableTree
- Widget
- StatefulWidget
- TextField
 
- Mixed-in types
- Available extensions
Constructors
- 
          TextField({Key? key, Object groupId = EditableText, TextEditingController? controller, String? initialValue, FocusNode? focusNode, UndoHistoryController? undoController, BoxDecoration? decoration, EdgeInsetsGeometry? padding, Widget? placeholder, @Deprecated('Use InputFeature.leading instead') Widget? leading, @Deprecated('Use InputFeature.trailing instead') Widget? trailing, CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center, String? clearButtonSemanticLabel, TextInputType? keyboardType, TextInputAction? textInputAction, TextCapitalization textCapitalization = TextCapitalization.none, TextStyle? style, StrutStyle? strutStyle, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, TextDirection? textDirection, bool readOnly = false, bool? showCursor, bool autofocus = false, String obscuringCharacter = '•', bool obscureText = false, bool autocorrect = true, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, bool enableSuggestions = true, int? maxLines = 1, int? minLines, bool expands = false, int? maxLength, MaxLengthEnforcement? maxLengthEnforcement, ValueChanged<String> ? onChanged, VoidCallback? onEditingComplete, ValueChanged<String> ? onSubmitted, TapRegionCallback? onTapOutside, TapRegionCallback? onTapUpOutside, List<TextInputFormatter> ? inputFormatters, bool enabled = true, double cursorWidth = 2.0, double? cursorHeight, Radius cursorRadius = const Radius.circular(2.0), bool cursorOpacityAnimates = true, Color? cursorColor, BoxHeightStyle selectionHeightStyle = ui.BoxHeightStyle.tight, BoxWidthStyle selectionWidthStyle = ui.BoxWidthStyle.tight, Brightness? keyboardAppearance, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), DragStartBehavior dragStartBehavior = DragStartBehavior.start, bool? enableInteractiveSelection, TextSelectionControls? selectionControls, GestureTapCallback? onTap, ScrollController? scrollController, AlignmentGeometry stackAlignment = AlignmentDirectional.topCenter, ScrollPhysics? scrollPhysics, Iterable<String> ? autofillHints = const [], ContentInsertionConfiguration? contentInsertionConfiguration, Clip clipBehavior = Clip.hardEdge, String? restorationId, bool stylusHandwritingEnabled = EditableText.defaultStylusHandwritingEnabled, bool enableIMEPersonalizedLearning = true, EditableTextContextMenuBuilder? contextMenuBuilder = _defaultContextMenuBuilder, SpellCheckConfiguration? spellCheckConfiguration, TextMagnifierConfiguration? magnifierConfiguration, String? hintText, Border? border, BorderRadiusGeometry? borderRadius, bool? filled, bool autoClearOnSubmit = false, WidgetStatesController? statesController, List<InputFeature> features = const [], List<TextInputFormatter> ? submitFormatters = const [], bool skipInputFeatureFocusTraversal = true})
- 
          
            const
Properties
- asBuilder → NeverWidgetBuilder
- 
      Available on Widget, provided by the WidgetExtension extension no setter
- asSliver → Widget
- 
      Available on Widget, provided by the XWidgetArcane extension no setter
- autoClearOnSubmit → bool
- 
  
  final
- autocorrect → bool
- 
  
  final
- 
  autofillHints
  → Iterable<String> ?
- 
  
  final
- autofocus → bool
- 
  
  final
- base → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- black → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- blockQuote → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- blurIn → Widget
- 
      Available on Widget, provided by the XWidgetEffect extension no setter
- bold → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- border → Border?
- 
  
  final
- borderRadius → BorderRadiusGeometry?
- 
  
  final
- centered → Widget
- 
      Available on Widget, provided by the XWidget extension no setter
- clearButtonSemanticLabel → String?
- 
  
  final
- clipBehavior → Clip
- 
  
  final
- contentInsertionConfiguration → ContentInsertionConfiguration?
- 
  
  final
- contextMenuBuilder → EditableTextContextMenuBuilder?
- 
  
  final
- controller → TextEditingController?
- 
  
  final
- crossAxisAlignment → CrossAxisAlignment
- 
  
  final
- cursorColor → Color?
- 
  
  final
- cursorHeight → double?
- 
  
  final
- cursorOpacityAnimates → bool
- 
  
  final
- cursorRadius → Radius
- 
  
  final
- cursorWidth → double
- 
  
  final
- decoration → BoxDecoration?
- 
  
  final
- dragStartBehavior → DragStartBehavior
- 
  
  final
- ellipsis → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- enabled → bool
- 
  
  final
- enableIMEPersonalizedLearning → bool
- 
  
  final
- enableInteractiveSelection → bool
- 
  
  final
- enableSuggestions → bool
- 
  
  final
- expand → Widget
- 
      Available on Widget, provided by the XWidget extension no setter
- expands → bool
- 
  
  final
- extraBold → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- extraLight → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- 
  features
  → List<InputFeature> 
- 
  
  final
- filled → bool?
- 
  
  final
- firstP → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- flexible → Widget
- 
      Available on Widget, provided by the XWidget extension no setter
- focusNode → FocusNode?
- 
  
  final
- foreground → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- groupId → Object
- 
  
  final
- h1 → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- h2 → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- h3 → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- h4 → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- hintText → String?
- 
  
  final
- ih → Widget
- 
      Available on Widget, provided by the XWidgetArcane extension no setter
- initialValue → String?
- 
  
  final
- inlineCode → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- 
  inputFormatters
  → List<TextInputFormatter> ?
- 
  
  final
- intrinsicHeight → Widget
- 
      Available on Widget, provided by the XWidget extension no setter
- intrinsicSize → Widget
- 
      Available on Widget, provided by the XWidget extension no setter
- intrinsicWidth → Widget
- 
      Available on Widget, provided by the XWidget extension no setter
- italic → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- iw → Widget
- 
      Available on Widget, provided by the XWidgetArcane extension no setter
- key → Key?
- 
  Controls how one widget replaces another widget in the tree.
  finalinherited
- keyboardAppearance → Brightness?
- 
  
  final
- keyboardType → TextInputType
- 
  
  final
- large → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- lead → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- leading → Widget?
- 
  
  final
- li → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- light → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- magnifierConfiguration → TextMagnifierConfiguration?
- 
  
  final
- maxLength → int?
- 
  
  final
- maxLengthEnforcement → MaxLengthEnforcement?
- 
  
  final
- maxLines → int?
- 
  
  final
- medium → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- minLines → int?
- 
  
  final
- modify → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- mono → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- muted → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- normal → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- obscureText → bool
- 
  
  final
- obscuringCharacter → String
- 
  
  final
- 
  onChanged
  → ValueChanged<String> ?
- 
  
  final
- onEditingComplete → VoidCallback?
- 
  
  final
- 
  onSubmitted
  → ValueChanged<String> ?
- 
  
  final
- onTap → GestureTapCallback?
- 
  
  final
- onTapOutside → TapRegionCallback?
- 
  
  final
- onTapUpOutside → TapRegionCallback?
- 
  
  final
- p → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- padding → EdgeInsetsGeometry?
- 
  
  final
- placeholder → Widget?
- 
  
  final
- primaryForeground → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- readOnly → bool
- 
  
  final
- restorationId → String?
- 
  
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- safeArea → Widget
- 
      Available on Widget, provided by the XWidget extension no setter
- sans → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- scrollable → Widget
- 
      Available on Widget, provided by the XWidget extension no setter
- scrollableHorizontal → Widget
- 
      Available on Widget, provided by the XWidget extension no setter
- scrollController → ScrollController?
- 
  
  final
- scrollPadding → EdgeInsets
- 
  
  final
- scrollPhysics → ScrollPhysics?
- 
  
  final
- secondaryForeground → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- selectionControls → TextSelectionControls?
- 
  
  final
- selectionEnabled → bool
- 
  
  no setteroverride
- selectionHeightStyle → BoxHeightStyle
- 
  
  final
- selectionWidthStyle → BoxWidthStyle
- 
  
  final
- semiBold → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- showCursor → bool?
- 
  
  final
- singleLine → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- skipInputFeatureFocusTraversal → bool
- 
  
  final
- small → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- smartDashesType → SmartDashesType
- 
  
  final
- smartQuotesType → SmartQuotesType
- 
  
  final
- spellCheckConfiguration → SpellCheckConfiguration?
- 
  
  final
- stackAlignment → AlignmentGeometry
- 
  
  final
- statesController → WidgetStatesController?
- 
  
  final
- strutStyle → StrutStyle?
- 
  
  final
- style → TextStyle?
- 
  
  final
- stylusHandwritingEnabled → bool
- 
  
  final
- 
  submitFormatters
  → List<TextInputFormatter> ?
- 
  
  final
- textAlign → TextAlign
- 
  
  final
- textAlignVertical → TextAlignVertical?
- 
  
  final
- textCapitalization → TextCapitalization
- 
  
  final
- textCenter → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- textDirection → TextDirection?
- 
  
  final
- textEnd → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- textInputAction → TextInputAction?
- 
  
  final
- textJustify → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- textLarge → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- textLeft → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- textMuted → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- textRight → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- textSmall → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- textStart → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- thin → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- trailing → Widget?
- 
  
  final
- underline → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- undoController → UndoHistoryController?
- 
  
  final
- x2Large → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- x3Large → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- x4Large → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- x5Large → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- x6Large → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- x7Large → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- x8Large → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- x9Large → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- xLarge → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
- xSmall → TextModifier
- 
      Available on Widget, provided by the TextExtension extension no setter
Methods
- 
  animate({Key? key, List< Effect> ? effects, AnimateCallback? onInit, AnimateCallback? onPlay, AnimateCallback? onComplete, bool? autoPlay, Duration? delay, AnimationController? controller, Adapter? adapter, double? target, double? value}) → Animate
- 
      Available on Widget, provided by the AnimateWidgetExtensions extension Wraps the target Widget in an Animate instance, and returns the instance for chaining calls. Ex.myWidget.animate()is equivalent toAnimate(child: myWidget).
- 
  asSkeleton({bool enabled = true, bool leaf = false, Widget? replacement, bool unite = false, AsyncSnapshot? snapshot}) → Widget 
- 
      Available on Widget, provided by the SkeletonExtension extension Converts the widget to a skeleton with advanced configuration options.
- 
  asSkeletonSliver({bool enabled = true}) → Widget 
- 
      Available on Widget, provided by the SkeletonExtension extension Converts the widget to a skeleton suitable for sliver layouts.
- 
  ast(int ml) → Widget 
- 
  center({Key? key}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  clip({Clip clipBehavior = Clip.hardEdge}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  clipOval({Clip clipBehavior = Clip.antiAlias}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  clipPath({Clip clipBehavior = Clip.antiAlias, required CustomClipper< Path> clipper}) → Widget
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  clipRRect({BorderRadiusGeometry borderRadius = BorderRadius.zero, Clip clipBehavior = Clip.antiAlias}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  constrained({double? minWidth, double? maxWidth, double? minHeight, double? maxHeight, double? width, double? height}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  copyWith({ValueGetter< Key?> ? key, ValueGetter<TextEditingController?> ? controller, ValueGetter<String?> ? initialValue, ValueGetter<FocusNode?> ? focusNode, ValueGetter<UndoHistoryController?> ? undoController, ValueGetter<BoxDecoration?> ? decoration, ValueGetter<EdgeInsetsGeometry?> ? padding, ValueGetter<Widget?> ? placeholder, ValueGetter<Widget?> ? leading, ValueGetter<Widget?> ? trailing, ValueGetter<CrossAxisAlignment> ? crossAxisAlignment, ValueGetter<String?> ? clearButtonSemanticLabel, ValueGetter<TextInputType?> ? keyboardType, ValueGetter<TextInputAction?> ? textInputAction, ValueGetter<TextCapitalization> ? textCapitalization, ValueGetter<TextStyle?> ? style, ValueGetter<StrutStyle?> ? strutStyle, ValueGetter<TextAlign> ? textAlign, ValueGetter<TextAlignVertical?> ? textAlignVertical, ValueGetter<TextDirection?> ? textDirection, ValueGetter<bool> ? readOnly, ValueGetter<bool?> ? showCursor, ValueGetter<bool> ? autofocus, ValueGetter<String> ? obscuringCharacter, ValueGetter<bool> ? obscureText, ValueGetter<bool> ? autocorrect, ValueGetter<SmartDashesType?> ? smartDashesType, ValueGetter<SmartQuotesType?> ? smartQuotesType, ValueGetter<bool> ? enableSuggestions, ValueGetter<int?> ? maxLines, ValueGetter<int?> ? minLines, ValueGetter<bool> ? expands, ValueGetter<int?> ? maxLength, ValueGetter<MaxLengthEnforcement?> ? maxLengthEnforcement, ValueGetter<ValueChanged< ? onChanged, ValueGetter<String> ?>VoidCallback?> ? onEditingComplete, ValueGetter<ValueChanged< ? onSubmitted, ValueGetter<String> ?>TapRegionCallback?> ? onTapOutside, ValueGetter<TapRegionCallback?> ? onTapUpOutside, ValueGetter<List< ? inputFormatters, ValueGetter<TextInputFormatter> ?>bool> ? enabled, ValueGetter<double> ? cursorWidth, ValueGetter<double?> ? cursorHeight, ValueGetter<Radius> ? cursorRadius, ValueGetter<bool> ? cursorOpacityAnimates, ValueGetter<Color?> ? cursorColor, ValueGetter<BoxHeightStyle> ? selectionHeightStyle, ValueGetter<BoxWidthStyle> ? selectionWidthStyle, ValueGetter<Brightness?> ? keyboardAppearance, ValueGetter<EdgeInsets> ? scrollPadding, ValueGetter<bool> ? enableInteractiveSelection, ValueGetter<TextSelectionControls?> ? selectionControls, ValueGetter<GestureTapCallback?> ? onTap, ValueGetter<ScrollController?> ? scrollController, ValueGetter<ScrollPhysics?> ? scrollPhysics, ValueGetter<Iterable< ? autofillHints, ValueGetter<String> ?>Clip> ? clipBehavior, ValueGetter<String?> ? restorationId, ValueGetter<bool> ? stylusHandwritingEnabled, ValueGetter<bool> ? enableIMEPersonalizedLearning, ValueGetter<ContentInsertionConfiguration?> ? contentInsertionConfiguration, ValueGetter<EditableTextContextMenuBuilder?> ? contextMenuBuilder, ValueGetter<String?> ? hintText, ValueGetter<Border?> ? border, ValueGetter<BorderRadiusGeometry?> ? borderRadius, ValueGetter<bool?> ? filled, ValueGetter<WidgetStatesController?> ? statesController, ValueGetter<TextMagnifierConfiguration?> ? magnifierConfiguration, ValueGetter<SpellCheckConfiguration?> ? spellCheckConfiguration, ValueGetter<List< ? features, ValueGetter<InputFeature> >List< ? submitFormatters, ValueGetter<TextInputFormatter> ?>bool> ? skipInputFeatureFocusTraversal}) → TextField
- 
  createElement() → StatefulElement 
- 
  Creates a StatefulElement to manage this widget's location in the tree.
  inherited
- 
  createState() → State< TextField> 
- 
  Creates the mutable state for this widget at a given location in the tree.
  override
- 
  debugContainer([Color color = Colors.red]) → Widget 
- 
      Available on Widget, provided by the DebugContainer extension 
- 
  debugDescribeChildren() → List< DiagnosticsNode> 
- 
  Returns a list of DiagnosticsNode objects describing this node's
children.
  inherited
- 
  debugFillProperties(DiagnosticPropertiesBuilder properties) → void 
- 
  Add additional properties associated with the node.
  override
- 
  excludeSkeleton({bool exclude = true}) → Widget 
- 
      Available on Widget, provided by the SkeletonExtension extension Controls whether the widget should be preserved in skeleton mode.
- 
  expanded({int flex = 1}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  iconDestructiveForeground() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconLarge() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconMedium() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconMutedForeground() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconPrimary() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconPrimaryForeground() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconSecondary() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconSecondaryForeground() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconSmall() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconX2Large() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconX2Small() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconX3Large() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconX3Small() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconX4Large() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconX4Small() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconXLarge() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  iconXSmall() → Widget 
- 
      Available on Widget, provided by the IconExtension extension 
- 
  ignoreSkeleton() → Widget 
- 
      Available on Widget, provided by the SkeletonExtension extension Excludes the widget from skeleton effects in its parent skeleton context.
- 
  intrinsic({double? stepWidth, double? stepHeight}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  intrinsicHeight() → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  intrinsicWidth({double? stepWidth, double? stepHeight}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  isSliver(BuildContext context) → bool 
- 
      Available on Widget, provided by the XSliverWidget extension 
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  onDoublePressed(VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) → Widget
- 
      Available on Widget, provided by the XOnGestureWidget extension Adds a handler for double press/tap gestures to this widget in Arcane UI.
- 
  onHover(void action(bool hovering)) → Widget 
- 
      Available on Widget, provided by the XOnGestureWidget extension Adds a handler for hover events to this widget in Arcane UI.
- 
  onLongPressed(VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) → Widget
- 
      Available on Widget, provided by the XOnGestureWidget extension Adds a handler for long press gestures with the primary button to this widget in Arcane UI.
- 
  onLongSecondaryPressed(VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) → Widget
- 
      Available on Widget, provided by the XOnGestureWidget extension Adds a handler for long press gestures with the secondary button to this widget in Arcane UI.
- 
  onLongTertiaryPressed(VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) → Widget
- 
      Available on Widget, provided by the XOnGestureWidget extension Adds a handler for long press gestures with the tertiary button to this widget in Arcane UI.
- 
  onPressed(VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) → Widget
- 
      Available on Widget, provided by the XOnGestureWidget extension Adds a handler for primary press/tap gestures to this widget in Arcane UI.
- 
  onSecondaryPressed(VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) → Widget
- 
      Available on Widget, provided by the XOnGestureWidget extension Adds a handler for secondary press gestures (right-click) to this widget in Arcane UI.
- 
  onTertiaryPressed(VoidCallback action, {HitTestBehavior? behavior, Set< PointerDeviceKind> ? supportedDevices}) → Widget
- 
      Available on Widget, provided by the XOnGestureWidget extension Adds a handler for tertiary press gestures (middle-click) to this widget in Arcane UI.
- 
  pad(double all) → Widget 
- 
  padBottom(double value) → Widget 
- 
  padBy({double? left, double? top, double? right, double? bottom, double? horizontal, double? vertical}) → Widget 
- 
      Available on Widget, provided by the XWidgetArcane extension 
- 
  padHorizontal(double value) → Widget 
- 
      Available on Widget, provided by the XWidgetArcane extension 
- 
  padLeft(double value) → Widget 
- 
  padOnly({double left = 0, double top = 0, double right = 0, double bottom = 0}) → Widget 
- 
  padRight(double value) → Widget 
- 
  padSliverBy({double? left, double? top, double? right, double? bottom, double? horizontal, double? vertical}) → Widget 
- 
      Available on Widget, provided by the XWidgetArcane extension 
- 
  padSliverHorizontal(double value) → Widget 
- 
      Available on Widget, provided by the XWidgetArcane extension 
- 
  padTop(double value) → Widget 
- 
  positioned({Key? key, double? left, double? top, double? right, double? bottom}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  shadeEdge(double radius) → Widget 
- 
      Available on Widget, provided by the XWidgetEdge extension 
- 
  shadeFrost(double value) → Widget 
- 
      Available on Widget, provided by the XWidgetFrost extension 
- 
  shadeInvert() → Widget 
- 
      Available on Widget, provided by the XWidgetInvert extension 
- 
  shadePixelate(double radius) → Widget 
- 
      Available on Widget, provided by the XWidgetPixelate extension 
- 
  shadePixelateBlur({int samples = 4, double pixelSize = 8, double radius = 2}) → Widget 
- 
      Available on Widget, provided by the XWidgetPixelateBlur extension 
- 
  shadeRGB({double radius = 5, double spin = 1}) → Widget 
- 
      Available on Widget, provided by the XWidgetRGB extension 
- 
  shadeWarp({double amplitude = 1, double frequency = 1, double z = 1, int octaves = 2}) → Widget 
- 
      Available on Widget, provided by the XWidgetWarp extension 
- 
  shadeWarpAnimation({double amplitude = 1, double frequency = 1, double z = 1, double zSpeed = 1, int octaves = 2}) → Widget 
- 
      Available on Widget, provided by the XWidgetWarp extension 
- 
  shimmer({bool loading = true}) → Widget 
- 
      Available on Widget, provided by the XWidgetArcane extension 
- 
  sized({double? width, double? height}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  sized({double? width, double? height}) → Widget 
- 
  then(InlineSpan span) → Widget 
- 
      Available on Widget, provided by the TextExtension extension 
- 
  thenButton({required VoidCallback onPressed, required Widget child}) → Widget 
- 
      Available on Widget, provided by the TextExtension extension 
- 
  thenInlineCode(String text) → Widget 
- 
      Available on Widget, provided by the TextExtension extension 
- 
  thenText(String text) → Widget 
- 
      Available on Widget, provided by the TextExtension extension 
- 
  toBox(BuildContext context, {bool softWarn = true}) → Widget 
- 
      Available on Widget, provided by the XSliverWidget extension 
- 
  toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode 
- 
  Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
  inherited
- 
  toSliver(BuildContext context, {bool fillRemaining = false, bool softWarn = true}) → Widget 
- 
      Available on Widget, provided by the XSliverWidget extension 
- 
  toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String 
- 
  A string representation of this object.
  inherited
- 
  toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String 
- 
  Returns a string representation of this node and its descendants.
  inherited
- 
  toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String 
- 
  Returns a one-line detailed description of the object.
  inherited
- 
  toStringShort() → String 
- 
  A short, textual description of this widget.
  inherited
- 
  transform({Key? key, required Matrix4 transform}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  withAlign(AlignmentGeometry alignment) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  withMargin({double? top, double? bottom, double? left, double? right, double? horizontal, double? vertical, double? all}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  withOpacity(double opacity) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  withPadding({double? top, double? bottom, double? left, double? right, double? horizontal, double? vertical, double? all, EdgeInsetsGeometry? padding}) → Widget 
- 
      Available on Widget, provided by the WidgetExtension extension 
- 
  withTooltip(String tooltip) → Widget 
- 
      Available on Widget, provided by the XWidgetArcane extension 
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited