Мне нужно использовать DraggableScrollableSheet
с SingleChildScrollView
и установить reverse
для перехода TextField
.
Но после того, как я установил reverse
в значение true, DraggableScrollableSheet
также изменится, как я могу это исправить?
DraggableScrollableSheet(
minChildSize: 0.73,
maxChildSize: 0.83,
initialChildSize: 0.73,
builder: (context, scroll) => SingleChildScrollView(
reverse: true,
padding: EdgeInsets.only(
bottom: MediaQuery.of(context).viewInsets.bottom),
controller: scroll,
child: Column(
children: <Widget>[
TextFormField(
decoration: InputDecoration(),
),
TextFormField(
decoration: InputDecoration(),
),
TextFormField(
decoration: InputDecoration(),
),
],
),
))