ArnaSearchField class

An Arna-styled search field.

Inheritance

Constructors

ArnaSearchField({Key? key, required bool showSearch, TextEditingController? controller, ValueChanged<String>? onChanged, ValueChanged<String>? onSubmitted, String? hintText, SmartQuotesType? smartQuotesType, SmartDashesType? smartDashesType, String? restorationId, bool autofocus = false, VoidCallback? onTap, bool autocorrect = true, bool enabled = true})
Creates a search field in the Arna style.
const

Properties

autocorrect bool
Whether to enable autocorrection.
final
autofocus bool
Whether this text field should focus itself if nothing else is already focused.
final
controller TextEditingController?
Controls the text being edited.
final
enabled bool
Disables the text field when false.
final
hashCode int
The hash code for this object.
no setterinherited
hintText String?
The hint text that appears when the text entry is empty.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onChanged ValueChanged<String>?
Invoked upon user input.
final
onSubmitted ValueChanged<String>?
Invoked upon keyboard submission.
final
onTap VoidCallback?
Called for the first tap in a series of taps.
final
restorationId String?
Restoration ID to save and restore the state of the text field.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showSearch bool
Whether to show search or not.
final
smartDashesType SmartDashesType?
Whether to allow the platform to automatically format dashes.
final
smartQuotesType SmartQuotesType?
Whether to allow the platform to automatically format quotes.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<ArnaSearchField>
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