mod: tag click push
This commit is contained in:
@ -173,21 +173,15 @@ class IntroDetail extends StatelessWidget {
|
|||||||
children: videoTags!.map((tag) {
|
children: videoTags!.map((tag) {
|
||||||
return InkWell(
|
return InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Get.toNamed(
|
Get.toNamed('/searchResult', parameters: {'keyword': tag.tagName!});
|
||||||
'/tag',
|
|
||||||
arguments: {
|
|
||||||
'tagId': tag.tagId,
|
|
||||||
'tagName': tag.tagName,
|
|
||||||
},
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
borderRadius: BorderRadius.circular(20),
|
borderRadius: BorderRadius.circular(6),
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: colorScheme.surfaceVariant.withOpacity(0.5),
|
color: colorScheme.surfaceVariant.withOpacity(0.5),
|
||||||
borderRadius: BorderRadius.circular(20),
|
borderRadius: BorderRadius.circular(6),
|
||||||
),
|
),
|
||||||
padding: const EdgeInsets.symmetric(vertical: 5, horizontal: 10),
|
padding: const EdgeInsets.symmetric(vertical: 4, horizontal: 10),
|
||||||
child: Text(
|
child: Text(
|
||||||
tag.tagName!,
|
tag.tagName!,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
|||||||
Reference in New Issue
Block a user