fix: 搜索框默认搜索词溢出
This commit is contained in:
@ -415,13 +415,16 @@ class SearchBar extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
const SizedBox(width: 10),
|
const SizedBox(width: 10),
|
||||||
Obx(
|
Obx(
|
||||||
() => Text(
|
() => Expanded(
|
||||||
ctr!.defaultSearch.value,
|
child: Text(
|
||||||
maxLines: 1,
|
ctr!.defaultSearch.value,
|
||||||
overflow: TextOverflow.ellipsis,
|
maxLines: 1,
|
||||||
style: TextStyle(color: colorScheme.outline),
|
overflow: TextOverflow.ellipsis,
|
||||||
|
style: TextStyle(color: colorScheme.outline),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
const SizedBox(width: 15),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user