Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
ReorderableList
const ReorderableList({
super.key,
required List<Widget> children,
required this.onReorder,
this.controller,
this.scrollDirection = Axis.vertical,
this.reverse = false,
this.padding = EdgeInsets.zero,
this.spacing,
this.shrinkWrap = false,
this.physics,
this.showDragHandles = true,
this.longPressToDrag = true,
this.isDisabled = false,
this.onReorderStart,
this.onReorderEnd,
this.handleBuilder,
this.borderRadius,
this.haptic = HapticType.medium,
this.motion,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
children | List<Widget> | Yes | — |
onReorder | void Function(int oldIndex, int newIndex) | Yes | — |
controller | ScrollController? | No | null |
scrollDirection | Axis | No | Axis.vertical |
reverse | bool | No | false |
padding | EdgeInsetsGeometry | No | EdgeInsets.zero |
spacing | double? | No | null |
shrinkWrap | bool | No | false |
physics | ScrollPhysics? | No | null |
showDragHandles | bool | No | true |
longPressToDrag | bool | No | true |
isDisabled | bool | No | false |
onReorderStart | ValueChanged<int>? | No | null |
onReorderEnd | ValueChanged<int>? | No | null |
handleBuilder | IndexedWidgetBuilder? | No | null |
borderRadius | double? | No | null |
haptic | HapticType | No | HapticType.medium |
motion | ComponentMotion? | No | null |
ReorderableList.builder
const ReorderableList.builder({
super.key,
required IndexedWidgetBuilder this.itemBuilder,
required this.itemCount,
required this.onReorder,
this.controller,
this.scrollDirection = Axis.vertical,
this.reverse = false,
this.padding = EdgeInsets.zero,
this.spacing,
this.shrinkWrap = false,
this.physics,
this.showDragHandles = true,
this.longPressToDrag = true,
this.isDisabled = false,
this.onReorderStart,
this.onReorderEnd,
this.handleBuilder,
this.borderRadius,
this.haptic = HapticType.medium,
this.motion,
});Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/collections/reorderable_list/reorderable_list.dart
This reference is generated from the ReorderableList declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

