openwebf/webf

WidgetsBindingObserver.didRequestAppExit

Closed this issue · 0 comments

Affected version

0.14.1

No same issues found.

  • Yes, I search all issues but not found.

Steps to Reproduce

follow readme example, and to launch flutter, will report some error;

`../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/launcher/controller.dart:119:7: Error: The non-abstract class 'WebFViewController' is missing implementations for these members:

  • WidgetsBindingObserver.didRequestAppExit
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class WebFViewController implements WidgetsBindingObserver, ElementsBindingObserver {
^^^^^^^^^^^^^^^^^^
../../../flutter/flutter/packages/flutter/lib/src/widgets/binding.dart:256:27: Context: 'WidgetsBindingObserver.didRequestAppExit' is defined here.
Future didRequestAppExit() async {
^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/widget/character_data_to_flutter_element_adapter.dart:8:7: Error: The non-abstract class 'WebFCharacterDataToFlutterElementAdapter' is missing implementations for these members:

  • RenderObjectElement.removeRenderObjectChild
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class WebFCharacterDataToFlutterElementAdapter extends RenderObjectElement {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../flutter/flutter/packages/flutter/lib/src/widgets/framework.dart:6316:8: Context: 'RenderObjectElement.removeRenderObjectChild' is defined here.
void removeRenderObjectChild(covariant RenderObject child, covariant Object? slot);
^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/painting/box_fit_image.dart:46:19: Error: Can't declare a member that conflicts with an inherited one.
final LoadImage loadImage;
^^^^^^^^^
../../../flutter/flutter/packages/flutter/lib/src/painting/image_provider.dart:673:24: Context: This is the inherited member.
ImageStreamCompleter loadImage(T key, ImageDecoderCallback decode) {
^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Error: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.

  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/svg/rendering/container.dart:10:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderSVGContainer' does not conform to its interface.
    class RenderSVGContainer extends RenderBoxModel
    ^^^^^^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/svg/rendering/text.dart:9:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderSVGText' does not conform to its interface.
    class RenderSVGText extends RenderBoxModel
    ^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:180:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderLayoutBox' does not conform to its interface.
    class RenderLayoutBox extends RenderBoxModel
    ^^^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/flex.dart:141:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderFlexLayout' does not conform to its interface.
    class RenderFlexLayout extends RenderLayoutBox {
    ^^^^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/flex.dart:2367:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderRepaintBoundaryFlexLayout' does not conform to its interface.
    class RenderRepaintBoundaryFlexLayout extends RenderFlexLayout {
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/flow.dart:48:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderFlowLayout' does not conform to its interface.
    class RenderFlowLayout extends RenderLayoutBox {
    ^^^^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/flow.dart:1057:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderRepaintBoundaryFlowLayout' does not conform to its interface.
    class RenderRepaintBoundaryFlowLayout extends RenderFlowLayout {
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/replaced.dart:15:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderReplaced' does not conform to its interface.
    class RenderReplaced extends RenderBoxModel with RenderObjectWithChildMixin, RenderProxyBoxMixin {
    ^^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/replaced.dart:165:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderRepaintBoundaryReplaced' does not conform to its interface.
    class RenderRepaintBoundaryReplaced extends RenderReplaced {
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/sliver_list.dart:16:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderSliverListLayout' does not conform to its interface.
    class RenderSliverListLayout extends RenderLayoutBox {
    ^^^^^^^^^^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/widget.dart:12:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderWidget' does not conform to its interface.
    class RenderWidget extends RenderBoxModel with RenderObjectWithChildMixin, RenderProxyBoxMixin {
    ^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/line_break.dart:10:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderLineBreak' does not conform to its interface.
    class RenderLineBreak extends RenderReplaced {
    ^^^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/svg/rendering/root.dart:11:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderSVGRoot' does not conform to its interface.
    class RenderSVGRoot extends RenderSVGContainer {
    ^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/svg/rendering/empty.dart:9:7: Error: The implementation of 'dropChild' in the non-abstract class 'RenderSVGEmpty' does not conform to its interface.
    class RenderSVGEmpty extends RenderSVGContainer {
    ^^^^^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/box_model.dart:851:28: Context: The parameter 'child' of the method 'RenderBoxModel.dropChild' has type 'RenderBox', which does not match the corresponding type, 'RenderObject', in the overridden method, 'RenderObject.dropChild'.
  • 'RenderBox' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
    Change to a supertype of 'RenderObject', or, for a covariant parameter, a subtype.
    void dropChild(RenderBox child) {
    ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart:1766:8: Context: This is the overridden method ('dropChild').
    void dropChild(RenderObject child) {
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/rendering/paragraph.dart:22:9: Error: Type argument 'TextParentData' doesn't conform to the bound 'ContainerBoxParentData' of the type variable 'ParentDataType' on 'RenderBoxContainerDefaultsMixin'.
  • 'TextParentData' is from 'package:flutter/src/rendering/paragraph.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/paragraph.dart').
  • 'ContainerBoxParentData' is from 'package:flutter/src/rendering/box.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/box.dart').
    Try changing type arguments so that they conform to the bounds.
    RenderBoxContainerDefaultsMixin<RenderBox, TextParentData>,
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/css/positioned.dart:18:34: Error: A value of type 'RenderObject?' can't be assigned to a variable of type 'AbstractNode?'.
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
  • 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('../../../flutter/flutter/packages/flutter/lib/src/foundation/node.dart').
    AbstractNode? current = holder.parent;
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/css/positioned.dart:21:19: Error: The getter 'clipX' isn't defined for the class 'AbstractNode'.
  • 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('../../../flutter/flutter/packages/flutter/lib/src/foundation/node.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'clipX'.
    if (current.clipX || current.clipY) {
    ^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/css/positioned.dart:21:36: Error: The getter 'clipY' isn't defined for the class 'AbstractNode'.
  • 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('../../../flutter/flutter/packages/flutter/lib/src/foundation/node.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'clipY'.
    if (current.clipX || current.clipY) {
    ^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/css/positioned.dart:22:31: Error: The getter 'scrollLeft' isn't defined for the class 'AbstractNode'.
  • 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('../../../flutter/flutter/packages/flutter/lib/src/foundation/node.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'scrollLeft'.
    return Offset(current.scrollLeft, current.scrollTop);
    ^^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/css/positioned.dart:22:51: Error: The getter 'scrollTop' isn't defined for the class 'AbstractNode'.
  • 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('../../../flutter/flutter/packages/flutter/lib/src/foundation/node.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'scrollTop'.
    return Offset(current.scrollLeft, current.scrollTop);
    ^^^^^^^^^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/css/position.dart:109:46: Error: A value of type 'RenderObject?' can't be assigned to a variable of type 'AbstractNode?'.
  • 'RenderObject' is from 'package:flutter/src/rendering/object.dart' ('../../../flutter/flutter/packages/flutter/lib/src/rendering/object.dart').
  • 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('../../../flutter/flutter/packages/flutter/lib/src/foundation/node.dart').
    AbstractNode? parent = renderBoxModel!.parent;
    ^
    ../../../.pub-cache/hosted/pub.flutter-io.cn/webf-0.14.1/lib/src/css/position.dart:111:16: Error: The method 'markChildrenNeedsSort' isn't defined for the class 'AbstractNode?'.
  • 'AbstractNode' is from 'package:flutter/src/foundation/node.dart' ('../../../flutter/flutter/packages/flutter/lib/src/foundation/node.dart').`

Code example

`import 'package:flutter/material.dart';
import 'package:webf/webf.dart';
import 'package:webf/devtools.dart';
void main() {
runApp(const MyApp());
}

class MyApp extends StatelessWidget {
const MyApp({super.key});

// This widget is the root of your application.
@OverRide
Widget build(BuildContext context) {
final MediaQueryData queryData = MediaQuery.of(context);
final Size viewportSize = queryData.size;
return Scaffold(
body: Center(
child: Column(
children: [
WebF(
devToolsService: ChromeDevToolsService(), // Enable Chrome DevTools Services
viewportWidth: viewportSize.width - queryData.padding.horizontal, // Adjust the viewportWidth
viewportHeight: viewportSize.height - queryData.padding.vertical, // Adjust the viewportHeight
bundle: WebFBundle.fromUrl('http://localhost:8001/channel/channel.html'), // The page entry point
),
],
),
));
}
}
`

Expected results

flutter normal lanuch

Actual results

fail