AnimatedGridView<E extends Object> constructor

const AnimatedGridView<E extends Object>({
  1. Key? key,
  2. required List<E> items,
  3. required ItemBuilder<Widget, E> itemBuilder,
  4. required SliverGridDelegate sliverGridDelegate,
  5. List<AnimationEffect>? enterTransition,
  6. List<AnimationEffect>? exitTransition,
  7. Duration? insertDuration,
  8. Duration? removeDuration,
  9. EdgeInsetsGeometry? padding,
  10. Axis scrollDirection = Axis.vertical,
  11. bool reverse = false,
  12. ScrollController? controller,
  13. bool? primary,
  14. ScrollPhysics? physics,
  15. ScrollBehavior? scrollBehavior,
  16. String? restorationId,
  17. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  18. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  19. Clip clipBehavior = Clip.hardEdge,
  20. AnimatedWidgetBuilder<Widget, dynamic>? insertItemBuilder,
  21. 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);