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 primaryDetailColor: Colors.black87, Color secondaryDetailColor: Colors.black54, Color disabledDetailColor: Colors.black26, Color searchBarColor: Colors.white30, double loaderBottomMargin: 0.0, double textBoxOutlineWidth: 1.0, double textBoxOutlineRadius: 16.0, EdgeInsets searchInputMargin: const EdgeInsets.all(0.0), Color textBoxOutlineColor, Color textBoxBackgroundColor, Color statusBarColor: Colors.transparent })

Properties

blankInputIconSize → double
final
cancelSearchMarginLeft → double
final
clearButtonMargin → EdgeInsets
final
disabledDetailColor → Color
final
fontSize → double
final
highlightButtonMargin → EdgeInsets
final
loaderBottomMargin → double
final
primaryDetailColor → Color
final
searchBarColor → Color
final
searchBarElevation → double
final
searchBarPadding → double
final
searchBarSize → Size
final
searchInputBaseMargin → EdgeInsets
final
searchInputMargin → EdgeInsets
final
searchTextFieldHeight → double
final
searchTextFieldPadding → EdgeInsets
final
secondaryDetailColor → Color
final
statusBarColor → Color
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. [...]
@pragma("vm:entry-point"), inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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