SliverGridDelegateWithFixedCrossAxisCountAndLoading constructor

const SliverGridDelegateWithFixedCrossAxisCountAndLoading({
  1. required dynamic crossAxisCount,
  2. required int itemCount,
  3. dynamic mainAxisSpacing = 0.0,
  4. dynamic crossAxisSpacing = 0.0,
  5. dynamic childAspectRatio = 1.0,
})

Implementation

const SliverGridDelegateWithFixedCrossAxisCountAndLoading({
  required crossAxisCount,
  required this.itemCount,
  mainAxisSpacing = 0.0,
  crossAxisSpacing = 0.0,
  childAspectRatio = 1.0,
}) : super(
          crossAxisCount: crossAxisCount,
          mainAxisSpacing: mainAxisSpacing,
          crossAxisSpacing: crossAxisSpacing,
          childAspectRatio: childAspectRatio);