Skip to content

After update to Flutter v1.7.2-pre.12 the app does not work #100

Closed
@IvanDreamer

Description

@IvanDreamer

Hi all,

Today morning I updated Flutter and now cannot start or build my app and following errors come from "flutter_html"

Compiler message:
.../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_html-0.10.1/lib/html_parser.dart:317:27: Error: The getter 'text' isn't defined for the class 'InlineSpan'.
 - 'InlineSpan' is from 'package:flutter/src/painting/inline_span.dart' ('.../flutter/packages/flutter/lib/src/painting/inline_span.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'text'.
        if ((w.child.text.text == null || w.child.text.text.isEmpty) &&
                          ^^^^
.../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_html-0.10.1/lib/html_parser.dart:317:56: Error: The getter 'text' isn't defined for the class 'InlineSpan'.
 - 'InlineSpan' is from 'package:flutter/src/painting/inline_span.dart' ('.../flutter/packages/flutter/lib/src/painting/inline_span.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'text'.
        if ((w.child.text.text == null || w.child.text.text.isEmpty) &&
                                                       ^^^^
.../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_html-0.10.1/lib/html_parser.dart:318:27: Error: The getter 'children' isn't defined for the class 'InlineSpan'.
 - 'InlineSpan' is from 'package:flutter/src/painting/inline_span.dart' ('.../flutter/packages/flutter/lib/src/painting/inline_span.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'children'.
            (w.child.text.children == null || w.child.text.children.isEmpty))
                          ^^^^^^^^
.../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_html-0.10.1/lib/html_parser.dart:318:60: Error: The getter 'children' isn't defined for the class 'InlineSpan'.
 - 'InlineSpan' is from 'package:flutter/src/painting/inline_span.dart' ('.../flutter/packages/flutter/lib/src/painting/inline_span.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'children'.
            (w.child.text.children == null || w.child.text.children.isEmpty))
                                                           ^^^^^^^^
Compiler failed on /Volumes/development/scool/hed/lib/main.dart

FAILURE: Build failed with an exception.

* Where:
Script '.../flutter/packages/flutter_tools/gradle/flutter.gradle' line: 648

* What went wrong:
Execution failed for task ':app:compileflutterBuildDebugandroid-arm'.
> Process 'command '.../flutter/bin/flutter'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 17s
Finished with error: Gradle task assembleDebug failed with exit code 1
My flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.7.2-pre.12, on Mac OS X 10.14.4 18E226, locale en-FI)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] iOS tools - develop for iOS devices
[✓] Android Studio (version 3.3)
[✓] Connected device (1 available)

• No issues found!

Does someone knows how to fix it?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions