label property
String
get
label
Implementation
String get label {
switch (this) {
case DesignPreset.material:
return 'Material (Google defaults)';
case DesignPreset.vibrant:
return 'Vibrant (saturated, startup style)';
case DesignPreset.minimal:
return 'Minimal (low contrast, neutral)';
}
}