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

estou com um problema, a calculadora não está executando o código, comecou a dar bugs no finalzinho do projeto. Dá isso no terminal: #11

Closed
felipecastrosales opened this issue Jul 6, 2020 · 1 comment

Comments

@felipecastrosales
Copy link

════════ Exception caught by gesture ═══════════════════════════════════════════════════════════════
The following _TypeError was thrown while handling a gesture:
type 'List' is not a subtype of type 'String'

When the exception was thrown, this was the stack:
#0 Memory._setOperation (package:calculator/models/memory.dart:47:7)
#1 Memory.applyCommand (package:calculator/models/memory.dart:20:7)
#2 _CalculatorState._onPressed. (package:calculator/screens/calculator.dart:19:14)
#3 State.setState (package:flutter/src/widgets/framework.dart:1233:30)
#4 _CalculatorState._onPressed (package:calculator/screens/calculator.dart:18:5)
...
Handler: "onTap"
Recognizer: TapGestureRecognizer#71251
debugOwner: GestureDetector
state: possible
won arena
finalPosition: Offset(384.0, 756.8)
finalLocalPosition: Offset(59.5, 40.0)
button: 1
sent tap down
════════════════════════════════════════════════════════════════════════════════════════════════════

@felipecastrosales felipecastrosales changed the title estou com um problema, a calculadora não está executando o código, comecou a dar bugs no finalzinho do projeto. estou com um problema, a calculadora não está executando o código, comecou a dar bugs no finalzinho do projeto. Dá isso no terminal: Jul 6, 2020
@felipecastrosales
Copy link
Author

Consegui solucionar, dei um "flutter pub get" no terminal e a aplicação voltou ao normal. 😀👌

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

1 participant