endigo / flutter_pdfview

PDF view for Flutter
https://pub.dev/packages/flutter_pdfview
MIT License
263 stars 218 forks source link

Feature Request: Custom Night Mode Background Color #291

Open alexaungmyooo opened 1 week ago

alexaungmyooo commented 1 week ago

Description Thank you for providing the night mode feature in flutter_pdfview. Currently, night mode changes the PDF page background to a very dark black color, which is effective but can be quite intense, especially when used for extended periods.

Feature Request I would like to request an enhancement to allow customization of the night mode background color. Similar to the backgroundColor property, an additional option (e.g., nightModeBackgroundColor) would enable us to set a custom background color in night mode. This feature would allow for a less intense, "light black" or dark gray background color for a more comfortable viewing experience in low-light conditions.

Proposed Solution Add a nightModeBackgroundColor property to allow users to specify the background color when nightMode is enabled.

Use Case This feature would enhance user experience for those who prefer a less intense night mode background, making the app more visually comfortable and user-friendly.

Thank you for considering this request!