getAndroidDrawable function

String getAndroidDrawable({
  1. bool android12 = false,
})

Android drawable directory name

Implementation

String getAndroidDrawable({
  bool android12 = false,
}) {
  const prefix = "drawable";
  final suffix = android12 ? '-v31' : '';
  return '$prefix-xxhdpi$suffix';
}