Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when tap on "." char #1

Closed
sci92bior opened this issue Dec 5, 2019 · 3 comments
Closed

Error when tap on "." char #1

sci92bior opened this issue Dec 5, 2019 · 3 comments

Comments

@sci92bior
Copy link

After a successful implementation of your calculator to my app unfortunately I received an error. When I tap on dot after I chose a number, Flutter throw me something like this:

'SubListIterable' is not a subtype of type 'List'

When the exception was thrown, this was the stack:
#0 MathFormula.getSymbols (package:flutter_calculator/src/math_formula.dart:122:5)
#1 MathFormulaValidator.isAccepted (package:flutter_calculator/src/math_formula_validator.dart:73:12)
#2 MathFormula._addSymbolAtCursor (package:flutter_calculator/src/math_formula.dart:168:26)
#3 MathFormula.process (package:flutter_calculator/src/math_formula.dart:81:14)
#4 _MathFormulaViewState._processMathSymbolAtCursor (package:flutter_calculator/src/math_formula_view.dart:115:19)

@sci92bior sci92bior changed the title Error when tap od "." char Error when tap on "." char Dec 5, 2019
@flytreeleft
Copy link
Owner

@sci92bior Thank you. I just confirmed that it is a bug. I will fix it as soon as possible :).

@flytreeleft
Copy link
Owner

@sci92bior The bug is already fixed, please try to use the latest code. Thanks!

@sci92bior
Copy link
Author

@flytreeleft thank's a lot! Excellent work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants