hello, I tried your example but I have this error message :
compiler message: Unhandled exception:
Crash when compiling file:///C:/Users/utilisateur/Desktop/maptestflutter_app/lib/main.dart,
at character offset 1823:
lib/main.dart: Internal problem: Unhandled this in defaultTreeNode.
hello, I tried your example but I have this error message :
compiler message: Unhandled exception: Crash when compiling file:///C:/Users/utilisateur/Desktop/maptestflutter_app/lib/main.dart, at character offset 1823: lib/main.dart: Internal problem: Unhandled this in defaultTreeNode.
0 internalProblem (package:front_end/src/fasta/problems.dart:30)
1 unhandled (package:front_end/src/fasta/problems.dart:43)
2 ConstnessEvaluator.defaultTreeNode (package:front_end/src/fasta/kernel/constness_evaluator.dart:112)
3 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140)
4 TreeVisitor.visitThisExpression (package:kernel/visitor.dart:171)
5 ThisExpression.accept (package:kernel/ast.dart:3341)
6 ConstnessEvaluator.visitPropertyGet (package:front_end/src/fasta/kernel/constness_evaluator.dart:287)
7 PropertyGet.accept (package:kernel/ast.dart:2242)
8 ConstnessEvaluator.visitConstructorInvocation (package:front_end/src/fasta/kernel/constness_evaluator.dart:175)
9 ConstructorInvocation.accept (package:kernel/ast.dart:2983)
10 ConstnessEvaluator.evaluate (package:front_end/src/fasta/kernel/constness_evaluator.dart:99)
11 evaluateConstness (package:front_end/src/fasta/kernel/constness_evaluator.dart:466)
12 BodyBuilder.inferConstness (package:front_end/src/fasta/kernel/body_builder.dart:710)
13 BodyBuilder.finishFunction (package:front_end/src/fasta/kernel/body_builder.dart:697)
14 DietListener.listenerFinishFunction (package:front_end/src/fasta/source/diet_listener.dart:684)
15 DietListener.parseFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:718)
16 DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:565)
17 DietListener.endMethod (package:front_end/src/fasta/source/diet_listener.dart:530)
18 Parser.parseMethod (package:front_end/src/fasta/parser/parser.dart:3796)
19 Parser.parseClassMemberImpl (package:front_end/src/fasta/parser/parser.dart:3670)
20 Parser.parseClassBody (package:front_end/src/fasta/parser/parser.dart:3467)
21 Parser.parseClass (package:front_end/src/fasta/parser/parser.dart:1699)
22 Parser.parseClassOrNamedMixinApplication (package:front_end/src/fasta/parser/parser.dart:1659)
23 Parser.parseTopLevelKeywordDeclaration (package:front_end/src/fasta/parser/parser.dart:535)
24 Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:451)
25 Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:335)
26 SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:198)