feat: 热搜关键词

This commit is contained in:
guozhigq
2023-06-20 10:27:54 +08:00
parent 04704ae8f3
commit 335718b3a0
13 changed files with 483 additions and 8 deletions

View File

@ -243,9 +243,11 @@ class ReplyItem extends StatelessWidget {
style: ButtonStyle(
padding: MaterialStateProperty.all(EdgeInsets.zero),
),
child: Text('回复', style: Theme.of(context).textTheme.labelMedium!.copyWith(
color: Theme.of(context).colorScheme.outline
)),
child: Text('回复',
style: Theme.of(context)
.textTheme
.labelMedium!
.copyWith(color: Theme.of(context).colorScheme.outline)),
onPressed: () {
showModalBottomSheet(
context: context,
@ -504,10 +506,12 @@ InlineSpan buildContent(BuildContext context, content) {
style: TextStyle(
color: Theme.of(context).colorScheme.primary,
),
// recognizer: TapGestureRecognizer()
// ..onTap = () => {
// print('Url 点击'),
// },
recognizer: TapGestureRecognizer()
..onTap = () => {
Get.toNamed('/search', parameters: {
'keyword': content.jumpUrl[matchStr]['title']
})
},
),
);
spanChilds.add(