Code Monkey home page Code Monkey logo

Comments (12)

cchamm avatar cchamm commented on June 19, 2024 5

This pull request hide the leader field in the LayerLink class. I am requesting them to revert this change.

from local_hero.

laiiihz avatar laiiihz commented on June 19, 2024 3

flutter sdk change this api controller.link.leader to controller.link.debugLeader, and does not work in other modes except debug.
layer.dart#L2130

from local_hero.

bimsina avatar bimsina commented on June 19, 2024 1

@kpk-i710 It's working in the master branch of flutter. You can switch to the master branch for now if that's possible.

from local_hero.

muhammadidrees avatar muhammadidrees commented on June 19, 2024

Any update on this?

from local_hero.

cchamm avatar cchamm commented on June 19, 2024

Error encounter if building with flutter 2.8

../flutter/.pub-cache/hosted/pub.dartlang.org/local_hero-0.2.0/lib/src/rendering/layer.dart:54:25: Error: The getter 'leader' isn't defined for the class 'LayerLink'. - 'LayerLink' is from 'package:flutter/src/rendering/layer.dart' ('../flutter/packages/flutter/lib/src/rendering/layer.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'leader'. if (controller.link.leader == null) { ^^^^^^ ../flutter/.pub-cache/hosted/pub.dartlang.org/local_hero-0.2.0/lib/src/rendering/layer.dart:102:25: Error: The getter 'leader' isn't defined for the class 'LayerLink'. - 'LayerLink' is from 'package:flutter/src/rendering/layer.dart' ('../flutter/packages/flutter/lib/src/rendering/layer.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'leader'. if (controller.link.leader == null) { ^^^^^^ ../flutter/.pub-cache/hosted/pub.dartlang.org/local_hero-0.2.0/lib/src/rendering/layer.dart:106:28: Error: The getter 'leader' isn't defined for the class 'LayerLink'. - 'LayerLink' is from 'package:flutter/src/rendering/layer.dart' ('../flutter/packages/flutter/lib/src/rendering/layer.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'leader'. assert(controller.link.leader!.owner == owner, ^^^^^^ ../flutter/.pub-cache/hosted/pub.dartlang.org/local_hero-0.2.0/lib/src/rendering/layer.dart:117:44: Error: The getter 'leader' isn't defined for the class 'LayerLink'. - 'LayerLink' is from 'package:flutter/src/rendering/layer.dart' ('../flutter/packages/flutter/lib/src/rendering/layer.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'leader'. ContainerLayer layer = controller.link.leader!; ^^^^^^ ../flutter/.pub-cache/hosted/pub.dartlang.org/local_hero-0.2.0/lib/src/rendering/layer.dart:165:25: Error: The getter 'leader' isn't defined for the class 'LayerLink'. - 'LayerLink' is from 'package:flutter/src/rendering/layer.dart' ('../flutter/packages/flutter/lib/src/rendering/layer.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'leader'. if (controller.link.leader == null) { ^^^^^^

from local_hero.

kpk-i710 avatar kpk-i710 commented on June 19, 2024

This pull request hide the leader field in the LayerLink class. I am requesting them to revert this change.

I really need this package, I don’t know how to fix it if I copy the package to my project for example from github. To work on the latest version of flutter?

from local_hero.

kpk-i710 avatar kpk-i710 commented on June 19, 2024

@kpk-i710 It's working in the master branch of flutter. You can switch to the master branch for now if that's possible.

thanks for the information, while I'm better at the 2.5 stable version, it also works.

from local_hero.

mario202k avatar mario202k commented on June 19, 2024

I could suggest this : https://stackoverflow.com/questions/71468925/how-to-transform-a-widget-by-switching-view
But It's not a perfect solution. If someone wants to enhance my code... My best version is not there.

from local_hero.

Urvish24 avatar Urvish24 commented on June 19, 2024

Do we have any update regarding this issue?

from local_hero.

laiiihz avatar laiiihz commented on June 19, 2024

Do we have any update regarding this issue?

flutter 3.0.x is working now πŸ˜†

from local_hero.

kpk-i710 avatar kpk-i710 commented on June 19, 2024

Do we have any update regarding this issue?

flutter 3.0.x is working now πŸ˜†

Seriously? Are there any warnings in the console?

from local_hero.

laiiihz avatar laiiihz commented on June 19, 2024

@kpk-i710 yes its working(more detail: flutter/flutter#92598) but have another warnings.
fix: https://github.com/flutter/website/blob/main/src/development/tools/sdk/release-notes/release-notes-3.0.0.md#if-you-see-warnings-about-bindings

from local_hero.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.