flatSizes function
sizes as the flat [width, height, ...] list of whole dps the native
banner views read (additionalSizes).
Implementation
List<int> flatSizes(List<Size> sizes) => [
for (final size in sizes) ...[size.width.round(), size.height.round()],
];