reorderables
reorderables copied to clipboard
The text field cannot be focused.
ReorderableColumn(
onReorder: (_, __) {},
children: <Widget>[
TextField(key: ValueKey(1)),
],
)
Any solution?
i have the same problem, any solution?
I sloved the problem, give the TextFiled a controller.
ReorderableSliverList(
// delegate: ReorderableSliverChildListDelegate(_rows),
// ),
delegate: ReorderableSliverChildBuilderDelegate(
(BuildContext context, int index) {
// return _rows[index];
TextEditingController textEditingController;
textEditingController =
TextEditingController(text: 'abcdefg');
return Row(
children: [
const Icon(Icons.ac_unit_outlined),
Expanded(
child: TextField(
controller: textEditingController,
))
],
);
// return TextField(
// controller: textEditingController,
// );
}, childCount: _rows.length),
onReorder: _onReorder,
),
But then how do you get the long press to work for copy/paste?
click textFiled and when focus in textFiled you can copy/past