CupertinoSearchBarData class

Constructors

CupertinoSearchBarData({Key? widgetKey, TextEditingController? controller, FocusNode? focusNode, void onTap()?, ValueChanged<String>? onChanged, ValueChanged<String>? onSubmitted, BoxDecoration? decoration, BorderRadius? borderRadius, TextInputType? keyboardType, Color itemColor = CupertinoColors.secondaryLabel, double itemSize = 20.0, EdgeInsetsGeometry prefixInsets = const EdgeInsetsDirectional.fromSTEB(6, 0, 0, 3), Widget prefixIcon = const Icon(CupertinoIcons.search), EdgeInsetsGeometry suffixInsets = const EdgeInsetsDirectional.fromSTEB(0, 0, 5, 2), Icon suffixIcon = const Icon(CupertinoIcons.xmark_circle_fill), OverlayVisibilityMode suffixMode = OverlayVisibilityMode.editing, VoidCallback? onSuffixTap, String? restorationId, SmartQuotesType? smartQuotesType, SmartDashesType? smartDashesType, bool enableIMEPersonalizedLearning = true, bool autofocus = false, bool autocorrect = true, bool? enabled, EdgeInsetsGeometry? padding, Color? backgroundColor, TextStyle? placeholderStyle, TextStyle? style, String? placeholder})

Properties

autocorrect bool
final
autofocus bool
final
backgroundColor Color?
final
borderRadius BorderRadius?
final
controller TextEditingController?
finalinherited
decoration BoxDecoration?
final
enabled bool?
final
enableIMEPersonalizedLearning bool
final
focusNode FocusNode?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
itemColor Color
final
itemSize double
final
keyboardType TextInputType?
final
onChanged ValueChanged<String>?
finalinherited
onSubmitted ValueChanged<String>?
final
onSuffixTap VoidCallback?
final
onTap → void Function()?
finalinherited
padding EdgeInsetsGeometry?
final
placeholder String?
final
placeholderStyle TextStyle?
final
prefixIcon Widget
final
prefixInsets EdgeInsetsGeometry
final
restorationId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smartDashesType SmartDashesType?
final
smartQuotesType SmartQuotesType?
final
style TextStyle?
final
suffixIcon Icon
final
suffixInsets EdgeInsetsGeometry
final
suffixMode OverlayVisibilityMode
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