ZefyrField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ZefyrField
Constructors
-
ZefyrField({Key? key, required ZefyrController controller, FocusNode? focusNode, ScrollController? scrollController, bool scrollable = true, EdgeInsetsGeometry padding = EdgeInsets.zero, bool autofocus = false, bool showCursor = true, bool readOnly = false, bool enableInteractiveSelection = true, double? minHeight, double? maxHeight, bool expands = false, TextCapitalization textCapitalization = TextCapitalization.sentences, Brightness keyboardAppearance = Brightness.light, ScrollPhysics? scrollPhysics, ValueChanged<
String> ? onLaunchUrl, InputDecoration? decoration, Widget? toolbar, ZefyrEmbedBuilder embedBuilder = defaultZefyrEmbedBuilder})
Properties
- autofocus → bool
-
Whether this editor should focus itself if nothing else is already
focused.
final
- controller → ZefyrController
-
Controller object which establishes a link between a rich text document
and this editor.
final
- decoration → InputDecoration?
-
final
- embedBuilder → ZefyrEmbedBuilder
-
Builder function for embeddable objects.
final
- enableInteractiveSelection → bool
-
Whether to enable user interface affordances for changing the
text selection.
final
- expands → bool
-
Whether this editor's height will be sized to fill its parent.
final
- focusNode → FocusNode?
-
Controls whether this editor has keyboard focus.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardAppearance → Brightness
-
The appearance of the keyboard.
final
- maxHeight → double?
-
The maximum height to be occupied by this editor.
final
- minHeight → double?
-
The minimum height to be occupied by this editor.
final
-
onLaunchUrl
→ ValueChanged<
String> ? -
Callback to invoke when user wants to launch a URL.
final
- padding → EdgeInsetsGeometry
-
Additional space around the content of this editor.
final
- readOnly → bool
-
Whether the text can be changed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollable → bool
-
Whether this editor should create a scrollable container for its content.
final
- scrollController → ScrollController?
-
The ScrollController to use when vertically scrolling the contents.
final
- scrollPhysics → ScrollPhysics?
-
The ScrollPhysics to use when vertically scrolling the input.
final
- showCursor → bool
-
Whether to show cursor.
final
- textCapitalization → TextCapitalization
-
Configures how the platform keyboard will select an uppercase or
lowercase keyboard.
final
- toolbar → Widget?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _ZefyrFieldState -
Creates the mutable state for this widget at a given location in the tree.
override
-
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.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited