当我按下按钮让页面移动到路由时,只要我得到错误
I/flutter ( 8790): Another exception was thrown: There are multipleheroes thatshare the sametagwithin a subtree.heroes that share the sametagwithin a subt
share the sametagwithin a subtree.I/flutter (19985): Another exception was thrown: There are multipleheroes that share the sametagwithina subtree.heroes that share
heroes that share the sametagwithin a subtree.Within each subtree for which heroes are to be animated (i.e. a PageRoute subtree), each Hero must haveIn this case, multipleheroes had the following tag</em
如下所示: Navigator.of(context).pushReplacementNamed("/"); 在尝试在菜单项操作上推送替换屏幕,而不是英雄动画之后,我得到了以下错误: There are multipleheroes that share the sametagwithin a subtree.
在ListView元素上添加Hero标记时,我得到以下错误: There are multipleheroes that share the sametagwithin a subtree.这是动画的代码: 第一页: Widget build(BuildContext context) { body: Hero(
heroes that share the sametagwithin a subtree.I/flutter ( 6000): Within each subtree for which heroes are to be animated (i.e. a PageRoute subtree)I/flutter ( 6000): In this case, multipleheroes ha
heroes that share the sametagwithin a subtree.Within each subtree for which heroes are to be animated (i.e. a PageRoute subtree), each Hero must
haveIn this case, multipleheroes had the following tag</em
), );}I/flutter ( 6827): ├# Here is the subtree for one of the offending heroes<anonymous closure> (package:flutter/src/widgets/heroes.dart:265:11)
I/flutter ( 6827): #1 Hero._allHeroesFor.inviteHero (package:flutter
heroes that share the sametagwithin a subtree.I/flutter ( 9045): Within each subtree for which heroes are to be animated (typically a PageRoute subtreeI/flutter ( 9045): In this case, multipleheroes</em
Switches connect multiple devices (computers, printers, servers) on the same network within a buildingA switch enables connected devices to share information and talk to each other.Routers tie multiple networks together.This enables all connected computer
</h2><div id="fb">
If a tag can have multiple values, just put multiple versions of the sametag on your page.The first tag (from top to bottom) is given preference during conflicts.&