import 'dart:io' show Platform;

import 'package:flutter/material.dart';

SliverGridDelegateWithMaxCrossAxisExtent get mediaGridDelegate =>
    SliverGridDelegateWithMaxCrossAxisExtent(
      maxCrossAxisExtent: Platform.isAndroid ? 130 : 180,
      childAspectRatio: 0.55,
      crossAxisSpacing: 12,
      mainAxisSpacing: 16,
    );
