AsyncValueList<T> constructor
const
AsyncValueList<T> ({
- Key? key,
- required AsyncValue<
List< value,T> > - required Widget itemBuilder(
- BuildContext,
- T,
- int
- Widget? emptyWidget,
- EdgeInsetsGeometry padding = const EdgeInsets.only(top: 16, left: 16, right: 16, bottom: 100),
- double spacing = 12,
- Axis scrollDirection = Axis.vertical,
- bool shrinkWrap = false,
- ScrollPhysics? physics,
Implementation
const AsyncValueList({
super.key,
required this.value,
required this.itemBuilder,
this.emptyWidget,
this.padding = const EdgeInsets.only(
top: 16,
left: 16,
right: 16,
bottom: 100,
),
this.spacing = 12,
this.scrollDirection = Axis.vertical,
this.shrinkWrap = false,
this.physics,
});