getResCrossCountGrid function

  1. @Deprecated('Use cGetResCrossCountGrid()$_defaultText')
int getResCrossCountGrid({
  1. required BuildContext context,
  2. required int width,
  3. bool logData = false,
})

Implementation

@Deprecated('Use cGetResCrossCountGrid()$_defaultText')
int getResCrossCountGrid({
  required BuildContext context,
  required int width,
  bool logData = false,
}) {
  int count = (context.cWidth / width).round();
  if (logData) {
    cLog('GridCount => $count');
  }
  return count;
}