A flutter package which will help you to generate pin code fields with beautiful design and animations. Can be useful for OTP or pin code inputs 🤓🤓
However, if you change the opacity on inactiveColor to contain a non-1.0 opacity:
final inactiveColor = Colors.red.withOpacity(0.5);
This will appear as:
The expected behavior, I believe, would be here that since inactiveColor and inactiveFillColor are both the exact same color value, the border and fill color should appear identical. However, it seems like some manipulation is done when the opacity is a value besides 1.0
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Consider a PinCodeTextField with a color which has an opacity value of 1.0:
This will appear as:![Screenshot 2024-04-08 at 5 03 06 PM](https://github.com/adar2378/pin_code_fields/assets/32246677/33eee108-8a95-451c-9dcb-c16fdf181949)
However, if you change the opacity on
inactiveColor
to contain a non-1.0 opacity:This will appear as:![Screenshot 2024-04-08 at 5 03 36 PM](https://github.com/adar2378/pin_code_fields/assets/32246677/99f40d8b-442d-4405-a564-349a48cede26)
The expected behavior, I believe, would be here that since
inactiveColor
andinactiveFillColor
are both the exact same color value, the border and fill color should appear identical. However, it seems like some manipulation is done when the opacity is a value besides 1.0