mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-15 13:43:56 +08:00
@@ -294,6 +294,7 @@ class CupertinoRichTextField extends StatefulWidget {
|
||||
this.stylusHandwritingEnabled =
|
||||
EditableText.defaultStylusHandwritingEnabled,
|
||||
this.enableIMEPersonalizedLearning = true,
|
||||
this.enableInlinePrediction,
|
||||
this.contextMenuBuilder = _defaultContextMenuBuilder,
|
||||
this.spellCheckConfiguration,
|
||||
this.magnifierConfiguration,
|
||||
@@ -439,6 +440,7 @@ class CupertinoRichTextField extends StatefulWidget {
|
||||
this.scribbleEnabled = true,
|
||||
this.stylusHandwritingEnabled = true,
|
||||
this.enableIMEPersonalizedLearning = true,
|
||||
this.enableInlinePrediction,
|
||||
this.contextMenuBuilder = _defaultContextMenuBuilder,
|
||||
this.spellCheckConfiguration,
|
||||
this.magnifierConfiguration,
|
||||
@@ -799,6 +801,9 @@ class CupertinoRichTextField extends StatefulWidget {
|
||||
/// {@macro flutter.services.TextInputConfiguration.enableIMEPersonalizedLearning}
|
||||
final bool enableIMEPersonalizedLearning;
|
||||
|
||||
/// {@macro flutter.services.TextInputConfiguration.enableInlinePrediction}
|
||||
final bool? enableInlinePrediction;
|
||||
|
||||
/// {@macro flutter.widgets.editableText.contentInsertionConfiguration}
|
||||
final ContentInsertionConfiguration? contentInsertionConfiguration;
|
||||
|
||||
@@ -1116,6 +1121,13 @@ class CupertinoRichTextField extends StatefulWidget {
|
||||
defaultValue: true,
|
||||
),
|
||||
)
|
||||
..add(
|
||||
DiagnosticsProperty<bool?>(
|
||||
'enableInlinePrediction',
|
||||
enableInlinePrediction,
|
||||
defaultValue: null,
|
||||
),
|
||||
)
|
||||
..add(
|
||||
DiagnosticsProperty<SpellCheckConfiguration>(
|
||||
'spellCheckConfiguration',
|
||||
@@ -1738,6 +1750,7 @@ class _CupertinoRichTextFieldState extends State<CupertinoRichTextField>
|
||||
scribbleEnabled: widget.scribbleEnabled,
|
||||
stylusHandwritingEnabled: widget.stylusHandwritingEnabled,
|
||||
enableIMEPersonalizedLearning: widget.enableIMEPersonalizedLearning,
|
||||
enableInlinePrediction: widget.enableInlinePrediction,
|
||||
contentInsertionConfiguration: widget.contentInsertionConfiguration,
|
||||
contextMenuBuilder: widget.contextMenuBuilder,
|
||||
spellCheckConfiguration: spellCheckConfiguration,
|
||||
|
||||
Reference in New Issue
Block a user