mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
Remove redundant SingleChildScrollView
This commit is contained in:
@ -97,9 +97,7 @@ class _CollectionPaneState extends ConsumerState<CollectionPane> {
|
||||
),
|
||||
kVSpacer8,
|
||||
const Expanded(
|
||||
child: SingleChildScrollView(
|
||||
child: RequestList(),
|
||||
),
|
||||
child: RequestList(),
|
||||
),
|
||||
],
|
||||
),
|
||||
@ -127,9 +125,7 @@ class _RequestListState extends ConsumerState<RequestList> {
|
||||
final requestItems = ref.watch(collectionStateNotifierProvider)!;
|
||||
return ReorderableListView.builder(
|
||||
buildDefaultDragHandles: false,
|
||||
shrinkWrap: true,
|
||||
itemCount: requestItems.length,
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
onReorder: (int oldIndex, int newIndex) {
|
||||
if (oldIndex < newIndex) {
|
||||
newIndex -= 1;
|
||||
|
Reference in New Issue
Block a user