mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 11:22:16 +08:00
@@ -1436,7 +1436,7 @@ class _CupertinoRichTextFieldState extends State<CupertinoRichTextField>
|
||||
children: <Widget>[
|
||||
// Insert a prefix at the front if the prefix visibility mode matches
|
||||
// the current text state.
|
||||
if (prefixWidget != null) prefixWidget,
|
||||
?prefixWidget,
|
||||
// In the middle part, stack the placeholder on top of the main EditableText
|
||||
// if needed.
|
||||
Expanded(
|
||||
@@ -1448,12 +1448,12 @@ class _CupertinoRichTextFieldState extends State<CupertinoRichTextField>
|
||||
alignment: AlignmentDirectional.center,
|
||||
textDirection: widget.textDirection,
|
||||
children: <Widget>[
|
||||
if (placeholder != null) placeholder,
|
||||
?placeholder,
|
||||
editableText
|
||||
],
|
||||
),
|
||||
),
|
||||
if (suffixWidget != null) suffixWidget,
|
||||
?suffixWidget,
|
||||
],
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user