MaterialSearchBarData class final
- Inheritance
-
- Object
- PlatformSearchBarData
- MaterialSearchBarData
Constructors
-
MaterialSearchBarData({Key? widgetKey, TextEditingController? controller, String? hintText, Widget? leading, VoidCallback? onTap, ValueChanged<
String> ? onChanged, ValueChanged<String> ? onSubmitted, TextInputType? keyboardType, bool autoFocus = kDefaultAutoFocus, FocusNode? focusNode, bool enabled = kDefaultEnabled, Iterable<Widget> ? trailing, TapRegionCallback? onTapOutside, BoxConstraints? constraints, WidgetStateProperty<double?> ? elevation, WidgetStateProperty<Color?> ? backgroundColor, WidgetStateProperty<Color?> ? shadowColor, WidgetStateProperty<Color?> ? surfaceTintColor, WidgetStateProperty<Color?> ? overlayColor, WidgetStateProperty<BorderSide?> ? side, WidgetStateProperty<OutlinedBorder?> ? shape, WidgetStateProperty<EdgeInsetsGeometry?> ? padding, WidgetStateProperty<TextStyle?> ? textStyle, WidgetStateProperty<TextStyle?> ? hintStyle, TextCapitalization? textCapitalization, TextInputAction? textInputAction, EdgeInsets scrollPadding = kDefaultScrollPadding, EditableTextContextMenuBuilder? contextMenuBuilder, bool readOnly = kDefaultReadOnly}) -
const
Properties
- autoFocus → bool
-
finalinherited
-
backgroundColor
→ WidgetStateProperty<
Color?> ? -
final
- constraints → BoxConstraints?
-
final
- contextMenuBuilder → EditableTextContextMenuBuilder?
-
final
- controller → TextEditingController?
-
finalinherited
-
elevation
→ WidgetStateProperty<
double?> ? -
final
- enabled → bool
-
finalinherited
- focusNode → FocusNode?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hintStyle
→ WidgetStateProperty<
TextStyle?> ? -
final
- hintText → String?
-
finalinherited
- keyboardType → TextInputType?
-
finalinherited
- leading → Widget?
-
finalinherited
-
onChanged
→ ValueChanged<
String> ? -
finalinherited
-
onSubmitted
→ ValueChanged<
String> ? -
finalinherited
- onTap → VoidCallback?
-
finalinherited
- onTapOutside → TapRegionCallback?
-
final
-
overlayColor
→ WidgetStateProperty<
Color?> ? -
final
-
padding
→ WidgetStateProperty<
EdgeInsetsGeometry?> ? -
final
- readOnly → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollPadding → EdgeInsets
-
final
-
shadowColor
→ WidgetStateProperty<
Color?> ? -
final
-
shape
→ WidgetStateProperty<
OutlinedBorder?> ? -
final
-
side
→ WidgetStateProperty<
BorderSide?> ? -
final
-
surfaceTintColor
→ WidgetStateProperty<
Color?> ? -
final
- textCapitalization → TextCapitalization?
-
final
- textInputAction → TextInputAction?
-
final
-
textStyle
→ WidgetStateProperty<
TextStyle?> ? -
final
-
trailing
→ Iterable<
Widget> ? -
final
- widgetKey → Key?
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- kDefaultReadOnly → const bool
- kDefaultScrollPadding → const EdgeInsets