Flutter 报错type ‘StackParentData’ is not a subtype of type ‘FlexParentData’ in type cast
意思其实就是Stack中不能存在Flexible,
非常奇怪的一点是Debug下能正常运行,Release/Profile就不正常了
请避免以下现象
Stack(
children:[
Flexible(child:...),
],
),
和
Stack(
children:[
Expaned(child:...),
],
),