-
Notifications
You must be signed in to change notification settings - Fork 348
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I have read the documentation that describes when errorStateBuilder field should be triggered (ex. input String value is too long), but if input is a big String, the field doesn't work correctly. When QrImageView uses its own build method it validates input with QrValidator.validate() method which should check size of given String and if it is out of bounds returns QrValidationStatus.contentTooLong status (including checking selected errorCorrectionLevel and version). If I understand something wrong, please explain to me how to properly trigger errorStateBuilder.
To Reproduce
Steps to reproduce the behavior:
- Use QrImageView with too long string (ex. 'test' * 999);
- Fill the
errorStateBuilderof desired widget you want to show as error widget; - See uncaught error.
Expected behavior
- When input String is out of bounds of selected QrCode type (including
correctionLevel,versionfields selected) show widget fromerrorStateBuilderfield.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working