To be able to click and get a textfield you should create a little widget (for example) which will detect if he receive a click (gestureDetector / inkWell ...) and then change a widget by an other one.
For example, MySwapWidget will contain this idea :
MySwapWidget(
selected: (default value, could be useful, false by default) true / false,
childIfSelected: TextField(),
childIfNotSelected: Text(),
)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…