AnimatedGridView<E extends Object> constructor
const
AnimatedGridView<E extends Object> ({
- Key? key,
- required List<
E> items, - required ItemBuilder<
Widget, E> itemBuilder, - required SliverGridDelegate sliverGridDelegate,
- List<
AnimationEffect> ? enterTransition, - List<
AnimationEffect> ? exitTransition, - Duration? insertDuration,
- Duration? removeDuration,
- EdgeInsetsGeometry? padding,
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- ScrollController? controller,
- bool? primary,
- ScrollPhysics? physics,
- ScrollBehavior? scrollBehavior,
- String? restorationId,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- Clip clipBehavior = Clip.hardEdge,
- AnimatedWidgetBuilder<
Widget, dynamic> ? insertItemBuilder, - AnimatedWidgetBuilder<
Widget, dynamic> ? removeItemBuilder,
Implementation
const AnimatedGridView(
{Key? key,
required this.items,
required this.itemBuilder,
required this.sliverGridDelegate,
this.enterTransition,
this.exitTransition,
this.insertDuration,
this.removeDuration,
this.padding,
this.scrollDirection = Axis.vertical,
this.reverse = false,
this.controller,
this.primary,
this.physics,
this.scrollBehavior,
this.restorationId,
this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
this.dragStartBehavior = DragStartBehavior.start,
this.clipBehavior = Clip.hardEdge,
this.insertItemBuilder,
this.removeItemBuilder})
: super(key: key);