syedmurtaza108 / chucker-flutter

An HTTP requests inspector inspired by Chucker Android
https://pub.dev/packages/chucker_flutter
MIT License
54 stars 32 forks source link

[Request] Add initial settings #26

Open Zazo032 opened 1 year ago

Zazo032 commented 1 year ago

Right now, there's no way to set initial values for any of the settings that the plugin allos (e.g. Notifications enabled/disabled, alignment, duration, http method, api requests thereshold...)

syedmurtaza108 commented 1 year ago

There is already a settings page to set values to all settings available.

image

Zazo032 commented 1 year ago

There is already a settings page to set values to all settings available.

image

You can change all the values there, but the scope of this issue was to add an option in the code to set the default values initially.

coyotedev commented 10 months ago

ChuckerUiHelper.settings = ChuckerUiHelper.settings.copyWith(showNotification: false);

You can use ChuckerUiHelper like this, it's public class.