UGridView constructor

const UGridView({
  1. required IndexedWidgetBuilder itemBuilder,
  2. required int itemCount,
  3. Key? key,
  4. int? crossAxisCount,
  5. double? maxCrossAxisExtent,
  6. double mainAxisSpacing = 8.0,
  7. double crossAxisSpacing = 8.0,
  8. double childAspectRatio = 1.0,
  9. ScrollPhysics? physics,
  10. bool shrinkWrap = false,
  11. EdgeInsetsGeometry? padding,
  12. ScrollController? scrollController,
  13. bool? primary,
  14. bool reverse = false,
  15. Axis scrollDirection = Axis.vertical,
  16. EdgeInsetsGeometry? margin,
  17. double? opacity,
  18. bool visible = true,
  19. String? tooltip,
  20. String? heroTag,
  21. BoxFit? fit,
  22. AlignmentGeometry fitAlignment = Alignment.center,
  23. double? scale,
  24. double? rotate,
  25. Offset? translate,
  26. bool center = false,
  27. bool safeArea = false,
  28. int? expanded,
  29. int? flexible,
  30. bool positioned = false,
  31. double? left,
  32. double? top,
  33. double? right,
  34. double? bottom,
  35. double? positionedWidth,
  36. double? positionedHeight,
})

Implementation

const UGridView({
  required this.itemBuilder,
  required this.itemCount,
  super.key,
  this.crossAxisCount,
  this.maxCrossAxisExtent,
  this.mainAxisSpacing = 8.0,
  this.crossAxisSpacing = 8.0,
  this.childAspectRatio = 1.0,
  this.physics,
  this.shrinkWrap = false,
  this.padding,
  this.scrollController,
  this.primary,
  this.reverse = false,
  this.scrollDirection = Axis.vertical,
  this.margin,
  this.opacity,
  this.visible = true,
  this.tooltip,
  this.heroTag,
  this.fit,
  this.fitAlignment = Alignment.center,
  this.scale,
  this.rotate,
  this.translate,
  this.center = false,
  this.safeArea = false,
  this.expanded,
  this.flexible,
  this.positioned = false,
  this.left,
  this.top,
  this.right,
  this.bottom,
  this.positionedWidth,
  this.positionedHeight,
});