larguraEndDrawerFiltros property

  1. @computed
double get larguraEndDrawerFiltros

Implementation

@computed
double get larguraEndDrawerFiltros{
  if(desktop && width <1100) {
    return 400;
  } else if(desktop && width >1500){
    return 500;
  }
  else if( mobile || tablet ){
    return width;
  }
  else{
    return width*0.35;
  }
}