报错:
I/flutter (18994): Another exception was thrown: There are multiple heroes that share the same tag within a subtree.
解决:在FloatingActionButton中添加一个heroTag:''
new FloatingActionButton(
heroTag:'demandsDetail',
child: new Icon(
Icons.add,
color: Color.fromRGBO(63, 81, 181, 0.8),
size: 34,
),
onPressed: () {
Navigator.pushNamed(context, 'release_requirements');
},
),