GridViewRF constructor

GridViewRF({
  1. DataSourceRF? dataSource,
  2. int? pageSize,
  3. dynamic decoration,
  4. EdgeInsets? padding,
  5. SliverGridDelegate? gridDelegate,
  6. int column = 2,
  7. bool scrollable = false,
  8. List<double> gridSpace = const [10, 10],
  9. dynamic builder,
  10. bool showDataLoader = true,
  11. bool enableSwipe = false,
  12. Function? onItemDelete,
  13. Function? onTap,
  14. double childAspectRatio = 1.0,
  15. double? mainAxisExtent,
})

Implementation

GridViewRF(
    {this.dataSource,
    this.pageSize,
    this.decoration,
    this.padding,
    this.gridDelegate,
    this.column = 2,
    this.scrollable = false,
    this.gridSpace = const [10, 10],
    this.builder,
    this.showDataLoader = true,
    this.enableSwipe = false,
    this.onItemDelete,
    this.onTap,
    this.childAspectRatio = 1.0,
    this.mainAxisExtent});