isValidWidths function

bool isValidWidths(
  1. List<int>? customWidths
)

Implementation

bool isValidWidths(List<int>? customWidths) {
  return customWidths != null && customWidths.isNotEmpty && !customWidths.any((e)=>e<0);
}