Milad-Akarie / pretty_dio_logger

MIT License
220 stars 49 forks source link

Unnecessary spaces using custom contructor #2

Closed dungnv2602 closed 4 years ago

dungnv2602 commented 4 years ago

There are empty spaces, which I believe come from responseBody, when I set responseBody: false.

dio.interceptors.add( PrettyDioLogger( requestHeader: false, requestBody: true, responseBody: false, responseHeader: false, error: true, compact: true, maxWidth: 90, ), );

take_01

In this case, these empty spaces should be removed.

Milad-Akarie commented 4 years ago

@dungnv2602 Thanks, buddy. I'll look into it.