KeyboardSettings class
iOS only Keyboard settings
- Annotations
-
- @JsonSerializable.new()
Constructors
- KeyboardSettings({required bool caseSensitive, required bool smartPunctuation, required bool autoCorrect, required bool autoCapitalization, required bool autoLearn, required bool doubleSpaceTapAddsPunctuation, required bool swipeTyping, required bool swipeLeftToDelete, required bool autoCorrectAfterPunctuation, required bool hapticFeedback, required bool soundFeedback, required bool shouldUseCustomBackground})
- Constructor
- KeyboardSettings.defaults()
-
Defaults
factory
-
KeyboardSettings.fromJson(Map<
String, dynamic> json) -
FromJson method
factory
Properties
- autoCapitalization → bool
-
Auto-Capitalization: Automatic capital letter after a punctuation mark or at the start of an input field.
final
- autoCorrect → bool
-
Auto-Correction: Corrects words while typing.
final
- autoCorrectAfterPunctuation → bool
-
Auto-Correction on Punctuation: Automatically corrects words when punctuation is added at the end.
final
- autoLearn → bool
-
Auto-Learn: Words are learnt automatically as you type.
final
- caseSensitive → bool
-
Whether the keyboard is case sensitive (always true by default)
final
- doubleSpaceTapAddsPunctuation → bool
-
"." Shortcut: Double-tapping the space bar inserts a full stop followed by a space.
final
- hapticFeedback → bool
-
Haptic feedback: Haptic feedback when pressing a keyboard key.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldUseCustomBackground → bool
-
Custom Background: Use a custom background for the keyboard
WIP for now.final - smartPunctuation → bool
-
Space after punctuation: Automatic insertion of a space after a punctuation mark.
final
- soundFeedback → bool
-
Sound: Sound effect when pressing a keyboard key.
final
- swipeLeftToDelete → bool
-
Swipe left to delete: Swipe left to delete an entire word. When 'Slide to Type' is enabled, this setting is disabled.
final
- swipeTyping → bool
-
Slide to Type: Type by swiping across the keyboard.
final
Methods
-
copyWith(
{bool? caseSensitive, bool? smartPunctuation, bool? autoCorrect, bool? autoCapitalization, bool? autoLearn, bool? doubleSpaceTapAddsPunctuation, bool? swipeTyping, bool? swipeLeftToDelete, bool? autoCorrectAfterPunctuation, bool? hapticFeedback, bool? soundFeedback, bool? shouldUseCustomBackground}) → KeyboardSettings - CopyWith method
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - ToJson method
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited