HoverSearchBar class

Inheritance

Constructors

HoverSearchBar({dynamic onChanged(String)?, String? hintText, Color? iconColor, double? elevation, Color? backgroundColor, Color? hintTextColor, double? hintTextFontSize, FontStyle? hintTextFontStyle, FontWeight? hintTextFontWeight, dynamic onSubmitted(String)?, String? initialText, bool clearOnSubmit = false})

Properties

backgroundColor Color?
Background color of the search bar.
final
clearOnSubmit bool
final
elevation double?
The z-coordinate at which to place this card. This controls the size of the shadow below the card.
final
hashCode int
The hash code for this object.
no setterinherited
hintText String?
Hint text to display on the search bar.
final
hintTextColor Color?
Color of the hint text.
final
hintTextFontSize double?
Font size of the hint text.
final
hintTextFontStyle FontStyle?
Font style of the hint text.
final
hintTextFontWeight FontWeight?
Font weight of the hint text.
final
iconColor Color?
Color to use for the search icon.
final
initialText String?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onChanged → (dynamic Function(String)?)
Function to call when the search bar input changes.
final
onSubmitted → (dynamic Function(String)?)
Function to call upon submission of the user's search query (i.e. enter key is pressed).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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