getFontDesignSystem_button static method
Implementation
static String getFontDesignSystem_button(LevelDS levelDS , String? custom ) {
//mobile enter custom
if ( custom != null ) return custom;
//default
var d = DSFont.button_large;
//choose
if( levelDS == LevelDS.parent ) {
d = DSFont.button_large;
}
if( levelDS == LevelDS.l1 ) {
d = DSFont.button_large;
}
if( levelDS == LevelDS.l2 ) {
d = DSFont.button_small;
}
if( levelDS == LevelDS.l3 ) {
d = DSFont.button_small;
}
if( levelDS == LevelDS.l4 ) {
d = DSFont.button_small;
}
return d;
}