IndexedWidget<T> constructor
const
IndexedWidget<T> ({
- Key? key,
- required List<
T> data, - required Widget child,
- double? itemSpace,
- EdgeInsets? itemPadding,
- String onTag(
- T
- bool showIndex = true,
- OnIndexChanged<
T> ? onIndexChanged,
Implementation
const IndexedWidget({
super.key,
required this.data,
required this.child,
this.itemSpace,
this.itemPadding,
this.onTag,
this.showIndex = true,
this.onIndexChanged,
});