Stack(
alignment:Alignment.center,
children: [
TextFormField(
decoration: InputDecoration(labelText: 'A', filled: true, fillColor: Colors.blue),
),
Align(
alignment: Alignment.centerRight,
child: InkWell(
child: Text('B', style: TextStyle(backgroundColor: Colors.red)),
)
)
]
)
如何使B的上下边缘对齐A的上下边缘或B扩展高度。