CupertinoSearchBarData class final
- Inheritance
-
- Object
- PlatformSearchBarData
- CupertinoSearchBarData
Constructors
-
CupertinoSearchBarData({Key? widgetKey, TextEditingController? controller, String? hintText, Widget? leading = kDefaultLeading, VoidCallback? onTap, ValueChanged<
String> ? onChanged, ValueChanged<String> ? onSubmitted, TextInputType? keyboardType, bool autoFocus = kDefaultAutoFocus, FocusNode? focusNode, bool enabled = kDefaultEnabled, TextStyle? style, TextStyle? placeholderStyle, BoxDecoration? decoration, Color? backgroundColor, BorderRadius? borderRadius, EdgeInsetsGeometry padding = kDefaultPadding, Color itemColor = kDefaultItemColor, double itemSize = kDefaultItemSize, EdgeInsetsGeometry prefixInsets = kDefaultPrefixInsets, EdgeInsetsGeometry suffixInsets = kDefaultSuffixInsets, Icon suffixIcon = kDefaultSuffixIcon, OverlayVisibilityMode suffixMode = kDefaultSuffixMode, VoidCallback? onSuffixTap, String? restorationId, SmartQuotesType? smartQuotesType, SmartDashesType? smartDashesType, bool enableIMEPersonalizedLearning = kDefaultEnableIMEPersonalizedLearning, bool autocorrect = kDefaultAutocorrect, double cursorWidth = kDefaultCursorWidth, double? cursorHeight, Radius cursorRadius = kDefaultCursorRadius, bool cursorOpacityAnimates = kDefaultCursorOpacityAnimates, Color? cursorColor}) -
const
Properties
- autocorrect → bool
-
final
- autoFocus → bool
-
finalinherited
- backgroundColor → Color?
-
final
- borderRadius → BorderRadius?
-
final
- controller → TextEditingController?
-
finalinherited
- cursorColor → Color?
-
final
- cursorHeight → double?
-
final
- cursorOpacityAnimates → bool
-
final
- cursorRadius → Radius
-
final
- cursorWidth → double
-
final
- decoration → BoxDecoration?
-
final
- enabled → bool
-
finalinherited
- enableIMEPersonalizedLearning → bool
-
final
- focusNode → FocusNode?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintText → String?
-
finalinherited
- itemColor → Color
-
final
- itemSize → double
-
final
- keyboardType → TextInputType?
-
finalinherited
- leading → Widget?
-
finalinherited
-
onChanged
→ ValueChanged<
String> ? -
finalinherited
-
onSubmitted
→ ValueChanged<
String> ? -
finalinherited
- onSuffixTap → VoidCallback?
-
final
- onTap → VoidCallback?
-
finalinherited
- padding → EdgeInsetsGeometry
-
final
- placeholderStyle → TextStyle?
-
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
Constants
- kDefaultAutocorrect → const bool
- kDefaultCursorOpacityAnimates → const bool
- kDefaultCursorRadius → const Radius
- kDefaultCursorWidth → const double
- kDefaultEnableIMEPersonalizedLearning → const bool
- kDefaultItemColor → const CupertinoDynamicColor
- kDefaultItemSize → const double
- kDefaultLeading → const Icon
- kDefaultPadding → const EdgeInsets
- kDefaultPrefixInsets → const EdgeInsetsDirectional
- kDefaultSuffixIcon → const Icon
- kDefaultSuffixInsets → const EdgeInsetsDirectional
- kDefaultSuffixMode → const OverlayVisibilityMode