Frezyx / talker

☎️ Advanced error handler and logger for dart and flutter apps
https://pub.dev/packages/talker_flutter
MIT License
504 stars 62 forks source link

feat: added custom settings section #215

Open zvikarp opened 6 months ago

zvikarp commented 6 months ago

This PR allows users to add custom settings to the talker settings page.

These custom settings are not managed or stored by talker but are just displayed on the settings page. The settings can be grouped into groups and each group can be enabled or disabled. I understand if you decide not to merge this because it is a bit out of scope for collecting logs, but it is super helpful for me, as I prefer to have just one place to all debug related things, I'm using it in multiple apps and thought I'll share it.

Thank you for developing and maintaining this great package :)

zvikarp commented 2 weeks ago

Is there anything I can do to be able to merge this?

wolfe719 commented 1 week ago

I would love to see this merged as well.

Failing this merge, I would love some small changes to the pub.

I finally figured out that I can not do an easy override of the talker_settings_bottom_sheet because you don't export TalkerSettingCard, your Talker-specific BaseBottomSheet, and your TalkerBaseCard

IF you exported those three classes, maybe even renaming BaseBottomSheet to TalkerBaseBottomSheet - then it would be trivial to extend your TalkerSettingsBottomSheet and override the build() function to add my own app-specific settings!