SearchBarAttrs class

Holder class containing attributes used during building SearchBar widget that can be adjusted. Each of the attributes is optional and takes its default value if omitted.

Constructors

SearchBarAttrs({Color primaryColor: Colors.black87, Color secondaryColor: Colors.black54, Color disabledTextColor: Colors.black26, Color searchBarColor: Colors.white30, double loaderBottomMargin: 0.0, double textBoxOutlineWidth: 1.0, double textBoxOutlineRadius: 16.0, Color textBoxOutlineColor, Color textBoxBackgroundColor })
const

Properties

blankInputIconSize → double
final
clearButtonMargin → EdgeInsets
final
disabledTextColor → Color
final
fontSize → double
final
highlightButtonMargin → EdgeInsets
final
loaderBottomMargin → double
final
primaryColor → Color
final
searchBarColor → Color
final
searchBarElevation → double
final
searchBarPadding → EdgeInsets
final
searchBarSize → Size
final
searchBarTopMargin → EdgeInsets
final
searchBoxHorizontalMargin → double
final
searchTextFieldHeight → double
final
searchTextFieldPadding → EdgeInsets
final
secondaryColor → Color
final
statusBarHeight → double
final
textBoxBackgroundColor → Color
final
textBoxOutlineColor → Color
final
textBoxOutlineRadius → double
final
textBoxOutlineWidth → double
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

merge(SearchBarAttrs other) SearchBarAttrs
Merges attributes with other into new object. Returned instance will take all attrs of other that are not null and source object attributes otherwise.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited