Closed BolisettySujith closed 7 months ago
@khoren93
Could you please review this PR :)
Even though it is a sample implementation, it contains almost every feature and customisation option that requires for a mobile scanner, it contains flash, gallery, toggle camera options...You can also hide the buttons as well if you don't want, like as you mentioned it is not possible to remove the gallery button, you can do that by passing showGallary = false
. You can also customise the position of the render widgets anyplace in the screen. You can also change the overlay styles as well, and it's pretty good. When I have all these many options why I or anyone wants to use their own.
The only thing that was left was customising default icons, so I think this pr helps in fixing it.
@BolisettySujith Thank you for this valuable contribution! Customizable action buttons and parameters in the ReaderWidget will enhance its flexibility and usability.
Overview:
Action buttons(torch, gallery, toggle camera) present in the
ReaderWidget
are not customizable, this PR helps in making them customizable. This PR also makes the action buttons background color and background border radius customizable.All the fields are declared in the ReaderWidget class parameters also contains a default parameter values.
The following are the fields that are being newly added to the class paramters:
Example Code:
Closes:
132