use Text.rich for ghost text (trying to fix #305)
This commit is contained in:
1 parent
d059db384c
commit
dcb0c8d5de
1 file changed
+2
-3
@@ -168,10 +168,9 @@ class AutoSuggestTextField extends HookWidget {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
|
||||
//TODO: maybe change to Text.rich
|
||||
return RichText(
|
||||
return Text.rich(
|
||||
maxLines: maxLines,
|
||||
text: TextSpan(
|
||||
TextSpan(
|
||||
text: text,
|
||||
style: effectiveStyle.copyWith(
|
||||
color: Colors.transparent,
|
||||
|
||||
Reference in new issue
Block a user